日历事件未使用ICS文件更改/取消

时间:2018-11-22 11:39:52

标签: php icalendar coldfusion-11

我正在处理ics文件,但我是新手。实际上,我通过电子邮件发送事件,并且还发送ics文件。问题是我正在使用ics发送约会确认,并且用户将其保存或添加到日历中。但是,如果以后用户请求取消约会,则会发送包含ics文件的另一封邮件。 如果用户将该文件保存在日历中,则应在日历中替换该文件。这可能吗?如果是这样,那我该怎么办。 我正在使用以下文件发送约会确认

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//AddEvent.com v1.6//ENX-WR-TIMEZONE:America/New_York
Method: REQUEST         -- mandatory for Outlook
BEGIN:VEVENT
TIMEZONE:America/New_York
DTSTAMP:20180430T104326Z
STATUS:CONFIRMED
UID:20183010432643447356
DTSTART:20181125T083000Z
DTEND:20181125T090000Z
SUMMARY:Appointment Details - Center for Vein Restoration 
X-ALT-DESC;FMTTYPE=text/html::Appointment Details Center for Vein Restoration 
LOCATION:4900 Seminary Road, Suit 100 Alexandria, VA 222234
BEGIN:VALARM
ACTION:DISPLAY
ORGANIZER;CN="GuestServices@example.com":mailto:GuestServices@example.com
ATTENDEE;PARTSTAT=ACCEPTED;RSVP=TRUE;ROLE=REQ-PARTICIPANT:mailto:vijaykaturu@gmail.com
END:VALARM
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

以及随后具有取消确认的文件

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//AddEvent.com v1.6//ENX-WR-TIMEZONE:America/New_York
Method: CANCEL  
BEGIN:VEVENT
TIMEZONE:America/New_York
DTSTAMP:20180430T104326Z
STATUS:CANCELLED
UID:20183010432643447356
DTSTART:20181125T083000Z
DTEND:20181125T090000Z
SUMMARY:Appointment Details - Cancel Center for Vein Restoration 
X-ALT-DESC;FMTTYPE=text/html::Appointment Details Center for Vein Restoration 
LOCATION:4900 Seminary Road, Suit 100 Alexandria, VA 222234
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

问题是它在日历中保存了另一个事件,而不是替换或取消

0 个答案:

没有答案