2011-08-22 5 views
1

을 보내지 않고 다음 gdata.calendar.data.CalendarEventEntry.send_event_notifications 설정 (이메일을 발송하지 않음) 작동하지 않습니다 :Google 캘린더 API (파이썬) send_event_notifications이 문제를 가졌 이메일

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) 

이 코드 성공적으로 이끌이의 일정에 이벤트를 설정하지만 게스트는 ... 이메일을 수신하지 않습니다 내가 new_event을 인쇄 할 경우 "sendEventNotifications은"설정이 나타나지 않습니다

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

무슨 일이 일어나는지 실마리가 있습니까? 감사합니다. M

답변