Hi there,

Having an issue: the
gdata.calendar.data.CalendarEventEntry.send_event_notifications
setting is not working (not sending out the emails).

event = gdata.calendar.data.CalendarEventEntry()
event.title = atom.data.Title(text='test event')
event.when.append(gdata.calendar.data.When(start=<start date>,end=<end
date>))
event.who.append(gdata.calendar.data.EventWho(email='[email protected]',rel='http://
schemas.google.com/g/2005#event.attendee'))
event.who.append(gdata.calendar.data.EventWho(email='[email protected]',rel='http://
schemas.google.com/g/2005#event.organizer'))
event.send_event_notifications =
gdata.calendar.data.SendEventNotificationsProperty(value='true')

new_event = client.InsertEvent(event)

This code successfully sets the event in the organizer's calendar, but
the guest does not receive the email... of I print out new_event, the
"sendEventNotifications" setting does show up:

<ns0:entry xmlns:ns0="http://www.w3.org/2005/
Atom"><ns1:sendEventNotifications value="true" xmlns:ns1="http://
schemas.google.com/gCal/2005/" /><ns1:who email="[email protected]"
rel="http://schemas.google.com/g/2005#event.attendee";
xmlns:ns1="http://schemas.google.com/g/2005"; /><ns1:who
email="[email protected]" rel="http://schemas.google.com/g/
2005#event.organizer" xmlns:ns1="http://schemas.google.com/g/2005"; /
><ns0:title>test event</ns0:title><ns1:when
endTime="2011-08-23T10:00:00" startTime="2011-08-23T09:00:00"
xmlns:ns1="http://schemas.google.com/g/2005";></ns1:when></ns0:entry>

Any clue of what's happening?

Thanks

M

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to