What should be in the ICS file in order to create a meeting invite to the multiple attendees in Outlook?

こ雲淡風輕ζ 提交于 2019-12-06 12:55:41

If it helps anyone, here are the changes that partially worked:

  1. No method should be used

  2. No quotes allowed around the email addresses!

  3. ;VALUE=DATE is not supported (OL 2010) and time component has to be there.

  4. Alarm is not set even though method REQUEST would set it.

ICS code that created a meeting as required:

BEGIN:VCALENDAR
BEGIN:VEVENT
UID:somethinguniquehere204832901
DTSTART:20150303T100000
DTEND:20150303T100000
ATTENDEE:john_doe@test.com
ATTENDEE:jane_doe@test.com
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR

When that is processed, the form has a Send Update button, which when clicked, creates a meeting and sends the invites. This still does not look like a brand new OL meeting request that the users are accustomed with.

The first issues: I'm spotting are:

  1. your iCalendar event must have an organizer.
  2. It's also missing a UID.
  3. METHOD:PUBLISH is wrong. It should probably be REQUEST or not be in there at all, depending on the context.
  4. ACTIONDISPLAY is not valid, it's missing a colon.

I would recommend taking a proper CalDAV / iCalendar client application (so not Outlook), create an event with invites there and then export that event. Then you can use that as a template for how the iCalendar object should look.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!