Thanks Austin, I found setSendEventNotifications in Zend_Gdata_Calendar_EventEntry but it seem to not work.
But I finally use the following code to solve my problem $SendEventNotifications = $gc->newSendEventNotifications(); $SendEventNotifications->setValue(true); $newEntry->SendEventNotifications = $SendEventNotifications; :) On 11月13日, 下午3時33分, "Austin (Google)" <[EMAIL PROTECTED]> wrote: > Hi Ben, > > Thanks for the catch. I don't think setSendEventNotifications() is > actually implemented in the client library from Zend. You may file a > bug request for this here - > > http://framework.zend.com/issues/secure/IssueNavigator.jspa?reset=tru... > > Thanks, > Austin > > On Nov 12, 12:41 am, Ben <[EMAIL PROTECTED]> wrote: > > > Dear all, > > > I am using Zend Gdata API to create event and send an invitation to > > the attendee. > > > I am trying the following code but it fails > > > $gc = new Zend_Gdata_Calendar($client); > > $newEntry = $gc->newEventEntry(); > > > $who = $gc->newWho(); > > $who->Email = "[EMAIL PROTECTED]"; > > $newEntry->who = array($who); > > $newEntry->setSendEventNotifications('true'); > > > Anybody kindly tell me why and how to do it. > > > Thanks and Regards, --~--~---------~--~----~------------~-------~--~----~ 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://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
