ical4j / ical4j

A Java library for parsing and building iCalendar data models
https://www.ical4j.org
BSD 3-Clause "New" or "Revised" License
765 stars 201 forks source link

RGANIZER No calendar created with Outlook #340

Open mo-xia opened 5 years ago

mo-xia commented 5 years ago

ATTENDEE work well,RGANIZER No calendar created with Outlook

VenkatMadepalli commented 4 years ago

Hi... I am stuck with the same issue. All attendees receiving the mail invite and added to calendar. But Organizer calendar not showing the invite. Did you find any solution for this ?

benfortuna commented 4 years ago

So I think this issue relates to the fact that the ORGANIZER is typically the one sending the invite, so it wouldn't normally need to respond to the event request.

The specification allows for this via the concept of "delegation". Popular calendar user agents like Outlook support this:

https://support.office.com/en-us/article/manage-another-person-s-mail-and-calendar-items-afb79d6b-2967-43b9-a944-a6b953190af5#__toc370369832

With ical4j I would expect you probably need to add the DELEGATED-FROM property with the email address of the ORGANIZER:

https://tools.ietf.org/html/rfc5545#section-3.2.4

I'm not sure if this is enough for Outlook to recognize the delegation and add to the organizer's calendar, but I think it's worth a try.

gbanusi commented 3 years ago

Any improvements here? I want to make a google calendar event for an organizer, the problem is the same...

benfortuna commented 3 years ago

@gbanusi did you try with DELEGATED-FROM?