问题
I have a system that matches two unrelated parties, after they engage through my system I want to enable them to schedule a meeting that will appear on their calendars.
It would be best that after the original scheduling they will be able to communicate over the event (accept, reject, reschedule etc. ) without me being the mediator (a bonus would be if I can be notified of any action they've taken).
I'm trying to achieve this creating the event using ical4j and sending it using Java Mail API 1.4.7. , but I don't mind other better options if available (even a 3rd party service).
回答1:
If the relationship between the two parties is somehow asymmetric, you can make one of them the ORGANIZER (and ATTENDEE with ROLE=CHAIR) and the other one an ATTENDEE (with ROLE=REQUIRED-PARTICIPANT). You can also add yourself as ATTENDEE (with ROLE=NON-PARTICIPANT).
If the relationship is strictly symmetric, then, unfortunately, iTIP/iMIP has no way to model that. So the best you can do is to put yourself as the ORGANIZER (but then you have to manage yourself the iMIP workflow, i.e. upon receiving a REPLY from one party, you will have to resend a REQUEST to the other party, etc...).
来源:https://stackoverflow.com/questions/35920936/how-can-i-create-and-email-an-invite-for-two-unrelated-recipients-to-a-meeting-b