Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event cancellation doesn't work right #11

Open
EitanBlumin opened this issue Sep 28, 2019 · 8 comments
Open

Event cancellation doesn't work right #11

EitanBlumin opened this issue Sep 28, 2019 · 8 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@EitanBlumin
Copy link
Collaborator

When cancelling an event, I get in Outlook 365 a "not supported calendar message.ics" attachment, which cannot be opened in order to remove the event from the calendar.

@EitanBlumin EitanBlumin added the bug Something isn't working label Sep 28, 2019
@EitanBlumin EitanBlumin added this to the V2.0 milestone Sep 28, 2019
@EitanBlumin EitanBlumin self-assigned this Sep 28, 2019
@EitanBlumin
Copy link
Collaborator Author

I verified that the ICS contents are valid using a couple of online validators, and it passed validation.

I tried all the methods mentioned here:
https://stackoverflow.com/questions/27662899/outlook-365-receives-a-message-that-has-an-attachment-that-is-named-not-support

But nothing helped.

Currently, my suspicion is that this happened because I used a SendGrid account to send the event cancellation, which may have been detected as a sender other than the organizer.

I should test this on a new event created directly from a non-SendGrid account.

@EitanBlumin
Copy link
Collaborator Author

The same problem still occurs even when sending from a Gmail account, and when sending from a personal Microsoft account.

I'm currently at a loss. I have no idea why this is happening.

@bhodge34
Copy link

Not sure if you are still supporting this, but I found that changing the name of the ics file from Meeting.ics to invite.ics caused the cancel mail to work.

@EitanBlumin
Copy link
Collaborator Author

Wait, seriously? That easy? I'm gonna try this myself ASAP

@EitanBlumin
Copy link
Collaborator Author

Not sure if you are still supporting this, but I found that changing the name of the ics file from Meeting.ics to invite.ics caused the cancel mail to work.

I tried making the change but I'm still getting the same issue with the "not supported calendar message.ics" attachment.

I pushed the changes to the v2.4 branch. Are you sure about this solution?

@bhodge34
Copy link

bhodge34 commented Aug 15, 2024

You are correct. I was getting it to work when I was sending the invite attachment from gmail. If I send it from the SQL server to my outlook account, it is giving the same error. I will keep looking into it.

@bhodge34
Copy link

I spent a few more hours looking into this, and am unable to figure out why it isn't working. The work around that I came up with was to send an update meeting request in the distant past and set a mailbox rule to auto delete events older than x number of days. I know this won't work for everyone, but it may help some.

@EitanBlumin
Copy link
Collaborator Author

For reference, I generated a calendar invite using the native Outlook web-based interface and then cancelled it.
I captured the attached invite.ics file that arrived with the cancellation, and I'm adding it here:
invite.zip

I don't have the time to do it right now, but I should compare this file's contents to the contents generated by my CLR method, and take note of the differences. Maybe I'll find something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants