4
我试图通过API创建一个事件,它主要工作,除了在受邀者日历中创建新事件时,不会发送任何电子邮件。如何使通过Google日历API创建的活动发送邀请电子邮件?
从网络界面创建事件是通过推送事件,以及发送电子邮件(除了一个帐户,根本没有得到任何通知,但这与我目前的问题无关)。
我想推的事件是:
<entry xmlns='http://www.w3.org/2005/Atom'
xmlns:gd='http://schemas.google.com/g/2005'>
<category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'></category>
<title type='text'>test event</title>
<content type='text'>content.</content>
<gd:transparency
value='http://schemas.google.com/g/2005#event.opaque'>
</gd:transparency>
<gd:eventStatus
value='http://schemas.google.com/g/2005#event.confirmed'>
</gd:eventStatus>
<gd:where valueString='somewhere'></gd:where>
<gd:who email="[redacted]" rel='http://schemas.google.com/g/2005#event.attendee' valueString='Me'><gd:attendeeStatus value='http://schemas.google.com/g/2005#event.invited'/></gd:who>
<gd:who email="[redacted again]" rel='http://schemas.google.com/g/2005#event.organizer' valueString='Also Me'><gd:attendeeStatus value='http://schemas.google.com/g/2005#event.accepted'/></gd:who>
<gd:when startTime='2010-05-18T15:30:00.000+10:00'
endTime='2010-05-18T16:00:00.000+10:00'></gd:when>
</entry>
当我请求事件列表我无法看透的API,并通过Web界面创建的事件之间的较大差异。
编辑:身份验证是通过用户名/密码,而不是的AuthSub或OAuth的,但我怀疑这将是相关