I sent this .ics event with an email:
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:adamgibbons/ics
METHOD:REQUEST
X-PUBLISHED-TTL:PT1H
BEGIN:VEVENT
UID:RUo-Akvn-dNj7pve87fNv
SUMMARY:Appointment with your Nurse at mywebapp.com
DTSTAMP:20221211T001700Z
DTSTART:20221208T170400Z
SEQUENCE:2
DESCRIPTION:12/8 12:04pm
URL:https://www.mywebapp.com/
STATUS:CANCELLED
ORGANIZER;CN=John Smith
CLASS:PRIVATE
ATTENDEE;RSVP=FALSE;CN=John Smith
ATTENDEE;RSVP=FALSE;CN=Jane Smith
DURATION:PT15M
END:VEVENT
END:VCALENDAR
I have sent it via NodeMailer with a MailComposer object that looks like this:
Notice that the method
is set in the icalEvent, to CANCEL
. NodeMailer says that this is the way to set the method here.
According to this SO post, the event should be marked in Outlook as cancelled.
The .ics file I send is being received, but instead of cancelling the event, the event is re-added to the Outlook Calendar.
How can I correct this?