Google Calendar API for .Net: Email notifications not sent when creating a calendar event

I am working on a Windows service that uses Google Calendar API v3 to create and delete calendar events. My code works, but when new events are created, email notifications are never sent to invited users. Events just appear on the calendar.

Here's a snippet of code:

EventsResource.InsertRequest insertRequest = new EventsResource.InsertRequest(calendarService, eventRequest, calendarID);
insertRequest.SendNotifications = true;
var response = insertRequest.Execute();

      

I have tested generating the same events using the same authentication credentials using the Google Calendar API explorer:

https://developers.google.com/google-apps/calendar/v3/reference/events/insert#try-it

When I create an event using this form, the email notifications are sent correctly, so I don't think this is a configuration or authentication issue on the google side. I am starting to think this is a bug in Google API for .Net (I am using the latest version - 1.8.1.95). I am setting the SendNotification property to true, but maybe it is not being added to the current request that is coming out?

Does anyone else have this problem?

+1


source to share





All Articles