-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Cancel ICS file corrupted on Office 365 #1780
Comments
Not at the moment, no. I guess the best way to handle this would be to inspect the contents of the |
Thanks for the quick response! I'll investigate further, and if I come up with a workaround to solve this issue, i'll post it here. Thanks! |
I hit this problem and found a way to get it working. Use addStringAttachment to attach the ical and specify the method in 4th parameter i.e.
|
Nice idea, @GeorgeWells. That will work for some clients but not all - there seems to be a fairly even split between those clients that want ICS files as attachments vs those that expect it as part of a multipart/alternative structure. It seems to be impossible to make it work everywhere. See #175 for more discussion on this. |
We came up with the same Bug. The reasen is the static header 'content-type' for multipart in function
|
Closed via #1842 |
There seems to be a recent issue with Office 365 when sending out cancellation Ical emails.
The main issue is that within the core code, when Ical is set, it's setting the method header to REQUEST. However, if you're sending a cancellation, you would need to set the method to CANCEL instead.
Is there anyway within PHPMailer to set this?
To be clear i'm referring to this snippet
The text was updated successfully, but these errors were encountered: