我正在尝试取消通过Outlook中的日历创建的会议邀请,该会议实际上已取消,并且当我查看日历时,存在删除约会,当我单击它时,该约会未被删除!
下面是我的python代码!我想念什么?
Outlook版本:16.24
ical = "BEGIN:VCALENDAR" + CRLF
ical += "PRODID:pyICSParser" + CRLF
ical += "VERSION:2.0" + CRLF
ical += "CALSCALE:GREGORIAN" + CRLF
ical += "X-WR-RELCALID:ABCD" + CRLF
ical += "METHOD:CANCEL" + CRLF
ical += "BEGIN:VEVENT" + CRLF
ical += "DTSTART:" + dtstart + CRLF
ical += "DTEND:" + dtend + CRLF
ical += organizer + CRLF
ical += "UID:123456AER" + CRLF
ical += "SEQUENCE:2" + CRLF
ical += "STATUS:CANCELLED" + CRLF
ical += "TRANSP:OPAQUE" + CRLF
ical += "END:VEVENT" + CRLF
ical += "END:VCALENDAR" + CRLF
part_cal = MIMEText(ical, 'calendar;method=CANCEL')