ICS Event with Status:Cancelled is Being Re-Added to the Mac Outlook Calendar? - outlook

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?

Related

Outlook calendar unable to sync description from .ics file

I am trying to create calendar events in outlook from .ics received in mail. This is the content of the ics file.
BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
CALSCALE:GREGORIAN
BEGIN:VEVENT
SUMMARY:Demo descr
DTSTART:20220924T103000Z
DTEND:20220924T113000Z
ORGANIZER;CN=xyz#abc.com:mailto:xyz#abc.com
UID:4763547133112123311211d1121121s11e133111112112112
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=xyz#outlook.com;X-NUM-GUESTS=0:mailto:xyz#outlook.com
DESCRIPTION;LANGUAGE=en-US:check description
LOCATION:somelink
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:2
END:VEVENT
END:VCALENDAR
Everything is synced properly except the description part. However if i add the ics file directly in the calendar by importing, the description is reflected.
Can anyone please help me here?

How to cancel an event with an `.ics` file?

.ics and ical events are not a "forest trip" (as we say in french).
Below a working event -> a created event.
BEGIN:VCALENDAR
PRODID:-//mls//calendar//FR
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20220505T120000Z
DTEND:20220505T124000Z
DTSTAMP:20220503T210000Z
UID:uuidXYZ
ORGANIZER;CN=me#example.com:MAILTO:me#example.com
DESCRIPTION:xxxxxxxxxxx
LOCATION:somewhere
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:something
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
It works in Mail.app (os x) and GMail.
For example, I see this and this is perfect.
I'm also able to add this event to my calendar
However, I'm unable to cancel this event! Argh!
Below my cancelled event:
BEGIN:VCALENDAR
PRODID:-//mls//calendar//FR
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:CANCEL
BEGIN:VEVENT
DTSTART:20220505T120000Z
DTEND:20220505T124000Z
DTSTAMP:20220503T210000Z
UID:uuidXYZ
ORGANIZER;CN=me#example.com:MAILTO:me#example.com
DESCRIPTION:xxxxxxxxxxx
LOCATION:somewhere
SEQUENCE:1
STATUS:CANCELLED
SUMMARY:something
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
Note that METHOD, SEQUENCE and STATUS have changed!
If I see this in Gmail (image below), the event DOESN'T disappear from my calendar... :-/
Do you have any idea why it's not working?
It's also not working in mail.app (OS X).
Thanks a lot!

Calendar update issues (.ics file)

I have an ics file that I send the to two participants. I want both to be able to approve, reject or suggest a new location or provide a link to the online meeting, but it seems like only the user who makes the calendar update can see it, but not the other one.
Below is the .ics file.
VERSION:2.0
PRODID:-//test//test Calendar//EN
METHOD:REQUEST
BEGIN:VEVENT
UID:f4ad093514495ae4dc5c0aa25443dd1a
DTSTAMP:20210512T190903
DTSTART:20210513T110000Z
DTEND:20210513T120000Z
ORGANIZER;CN="John”:mailto:organizer#gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=user1#gmail.com;X-NUM-GUESTS=0:mailto:user1#gmail.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=user2#gmail.com;X-NUM-GUESTS=0:mailto:user2#gmail.com
LOCATION:Expert to provide the link
SUMMARY:Appointment
BEGIN:VALARM
TRIGGER:-PT05M
ACTION:DISPLAY
DESCRIPTION:Appointment
END:VALARM
PRIORITY:5
END:VEVENT
END:VCALENDAR

ics file attchment not showing calender in yahoo and outlook.live

I have sent ics file as attachment in email. it is showing rsvp buttons and showing like in below attachment for gmail and adding event directly to calendar.
But same ics file i have sent to yahoo and outlook.live. ics file showing just as attachment but not showing calendar like gmail. in yahoo mail calender section continuously loading like below screen.
Here is my ics file
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20190612T103000Z
DTEND:20190612T113000Z
DTSTAMP:20190612T101341Z
ORGANIZER;CN=murali.krishna#mydomai.com:mailto:murali.krishna#mydomai.com
UID:29b88vglogjev1r59qjqd0g811#google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
;CN=murali.krishna#mydomai.com;X-NUM-GUESTS=0:mailto:murali.krishna#mydomai
.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
TRUE;CN=muralibobby#mydomai.com;X-NUM-GUESTS=0:mailto:muralibobby#mydomai
.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
TRUE;CN=muralibobb#yahoo.com;X-NUM-GUESTS=0:mailto:muralibobb#yah
oo.com
X-MICROSOFT-CDO-OWNERAPPTID:-287760219
CREATED:20190612T101337Z
DESCRIPTION:-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~
:~:~:~:~:~:~:~:~::~:~::-\nPlease do not edit this section of the descriptio
n.\n\nThis event has a video call.\nJoin: https://meet.google.com/bis-vec-
fgg\n+1 503-908-2281 PIN: 24553883#\n\nView your event at https://www.goog
le.com/calendar/event?action=VIEW&eid=MjliODZ2xvZ2pldjFyNTlxanFkMGc4MTEgb
XVyYWxpYm9iYnkyMDE1QHlhaG9vLmNvbQ&tok=MjYjbXVyYWxpLmtyaXNobmFAbmVvYnJpYy5jb
21hNDFjNzg4OTlmMjJmOWUxY2U0MDE2OWE3OTc0MTM2MTE2YTY3OTky&ctz=Asia%2FKolkata&
hl=en&es=1.\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:
~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20190612T101337Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:MyInvitation
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
Please let me know what tags needs to send to show calender with rsvp buttons in yahoo/outlook.
The issue is probably with the MIME (email) structure that you are using, not with the ics itself. See Multipart email with text and calendar: Outlook doesn't recognize ics

I can't cancel the event by the method of importing ics file in Outlook

When I create an iCalendar on Outlook, I want to delete it on Outlook with importing the ics-cancel-file,but it gives me the message "The events could't be imported. Please try again later.Error message".
The event ics file:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 15.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTAMP:20160504T072433Z
DTSTART;VALUE=DATE;VALUE=DATE:20160506
SUMMARY:BirthDay
UID:20160504T072432Z-1#fe80:0:0:0:a2d3:c1ff:fe34:bacf%2
END:VEVENT
END:VCALENDAR
The ics-cancel-file:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 15.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:CANCEL
BEGIN:VEVENT
DTSTAMP:20160504T072433Z
DTSTART;VALUE=DATE;VALUE=DATE:20160506
SUMMARY:BirthDay
UID:20160504T072432Z-1#fe80:0:0:0:a2d3:c1ff:fe34:bacf%2
STATUS:CANCELLED
END:VEVENT
END:VCALENDAR
What can I fix it that I can delete the event? What's wrong with this ics file?
Adding the 2nd file just change the Event's STATUS, which defines the overall status or confirmation for the calendar component (https://www.rfc-editor.org/rfc/rfc5545#section-3.8.1.11)
The only way there is for deleting a calendar object if by a DELETE Request (http://www.webdav.org/specs/rfc2518.html#METHOD_DELETE). So there isn't something wrong with the .ics file.

Resources