我想通过发送电子邮件将事件添加到Google日历。
实际上,我创建了一个日历,并且我拥有日历#hash#@group.calendar.google.com
的ID
我的想法是向该ID发送一个ICS,但是它不起作用。
ics的示例:
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20180910T100000
DTEND:20180910T120000
DTSTAMP:20180831T082208
ORGANIZER:mailto:#####@cozynergy.com
UID:1770733000016589223
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;X-NUM-GUESTS=0:mailto:#hash#@group.calendar.google.com
DESCRIPTION:my description
LOCATION:LOCATION
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:HEY THIS IS MY EMAIL TEST :)
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR