Hello,

There was a bug in the Calendar XML namespace formatting which has been
fixed in the repository:

http://code.google.com/p/gdata-python-client/source/detail?spec=svnff437c2650e33cc926238457304b49383ece97bd&r=755d3b09b30c9bff2633c3cd7029c7815b46b285

Please use the repository version instead of the release as many fixes are
pushed in the repository before:
  http://code.google.com/p/gdata-python-client/source/checkout

Best,
Alain

On Mon, Aug 22, 2011 at 12:45 PM, Tasmania <[email protected]> wrote:

> 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
>



-- 
Alain Vongsouvanh

-- 
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