dongxinxin7809 2015-10-30 14:21
浏览 29

无法使用PHP更新或删除iCal事件

I am really struggling with removing or updating iCal events. Its easy to invite someone to an event, but once they have accepted it, it cannot be changed. Any attempt to update or remove/cancel the event from their calendar does not work. Updating with a new address just adds a new event, and leaves the old one. I am using the same UID, upping the Sequence number by one, and getting a banner on Gmail saying that the event has been cancelled - but alas, it is not.

I have been trying to figure this out for the last two days, but there are very few resources on the web relating to iCal events, and they seem very finicky to work with.

Below is the code I currently have, which gmail says has cancelled the event - but its a lie:

BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 11.0 MIMEDIR//EN
VERSION:2.0
METHOD:CANCEL
BEGIN:VEVENT
STATUS:CANCELLED
ORGANIZER:'.$from_address.'
ATTENDEE:'.$client_email.'
DTSTART:'.$dtstart.'
DTEND:'.$dtend.'
LOCATION:'.$meeting_location.'
SEQUENCE:1
UID:'.$cal_uid.'
DTSTAMP:'.$todaystamp.'
DESCRIPTION:'.$meeting_description.'
SUMMARY:'.$client_subject.'
PRIORITY:5
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR

Please, if you can solve my problem, I will be eternally grateful

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
    • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
    • ¥15 MATLAB中streamslice问题
    • ¥15 如何在炒股软件中,爬到我想看的日k线
    • ¥15 seatunnel 怎么配置Elasticsearch
    • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
    • ¥15 (标签-MATLAB|关键词-多址)
    • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
    • ¥500 52810做蓝牙接受端
    • ¥15 基于PLC的三轴机械手程序