I am using service account to authenticate google calendar. There is one admin (organizer) for my application and multiple users (creators) who creates event on behalf of admin and invitation email goes to attendees as well as organizer about event creation. But the issue is, there is intimation to creator about the response status of the attendee.
organizer([email protected]) receives the response status email of (acceptance or declined) of an attendee but creator([email protected]) doesn't not receive my email.
/*adding organizer data */
Event.OrganizerData org = new Event.OrganizerData();
org.Email = gm.Organizer; //[email protected]
eventEntry.Organizer = org;
/*adding creator data */
Event.CreatorData creator = new Event.CreatorData();
creator.Email = gm.CreatedBy; //[email protected]
eventEntry.Creator = creator;
/*inserting an event to service account calendar*/
var request = er.Insert(eventEntry, calID);
request.SendNotifications = true;
var re = request.Execute();
how do I achieve this requirement. I did lot of researching on internet but did not find any answer.
remindOnRespondedEventsOnly
is set to true. You may check this related SO question. From this documentation, you can use thesendNotifications
parameter to send notifications about the event update (e.g. attendee's responses, title changes, etc.). The default is False. - abielita