-
-
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
IOS 13 problem #1880
Comments
Here my code example: ` $mail = new PHPMailer();
|
There were some small changes relating to this recently (#1870), mainly to fix problems in outlook, however, they are pretty sane changes that should not have a major impact. Unfortunately, ical support in email clients is horribly inconsistent, as was discussed in #175. In short, it appears to be impossible to create properly constructed messages that work as the standards say in all email clients - fixing it in one always seems to break it in others. Can you try using current master branch? There are some issues fixed in there that might make a difference to this. |
I've try now and I've same problem with IOS 13. I can accept to insert event by clicking on the ics attachment but I must understand why I can't delete this event. |
I think what glevin-sugarcrm said in issue 175 is correct: "Outlook and Mac Mail only show their RSVP buttons if you add the ICS content in the way that PHPMailer has implemented it. They will not show RSVP buttons if the ICS file is simply attached." |
Consensus seems to be that you need to attach iCal data as both a multipart alternative (what PHPMailer's |
ok, I try to understand what they have changed ... as I said it seems to ignore the defaults and you have to specify all the options. I try to understand what is missing to make the interpretation of the multipart still work. |
It's incredible! |
Unfortunately I really don't know. I rarely use iCal because it so rarely works properly - even a google calendar event sent to gmail doesn't work properly! |
ok man, but only a question...this istruction "$mail->addStringAttachment($ical, 'event.ics', 'base64', 'text/calendar');" it's for create the event.ics attachment? |
Yes, that looks right. |
ok, then if I save it, it's a text file...why I must specified "base64"? |
base64 is the transfer encoding, not the file type, and it describes how the attachment is represented within the message. Given that ics data is pretty much plain text, other encodings should work too (like |
I really can't understand what I have to concentrate on to find the problem! |
Welcome to the wonderful world of iCal! 🙃 The specification is in RFC5545, plus some others which extend it. All these clients are supposed to base their behaviour on that spec, but clearly this has not been done consistently, as you're finding. I really don't know what we can do - everyone that generates and sends iCal files runs into the same problems, and making it work in one system will usually stop it working in others. |
You're right but the point now is that the same ics file read by my android goes while from ipad (worst situation) nothing to do ... I think I already understand why in the meantime that except for the attachment I see the exchange calendars disabled both the key to the problem. |
Hi Marcus, problem was solved in january by Apple. It's they who have
changed the things for which the events changes didn't work well, but
given the countless complaints they have fixed.
I only analyzed all ical parameters created both from the last outlook and
from apple and added them all and now it works all with any email client.
Some take the event automatically and others have to save the attachment
manually but into text mail I specified if you don't see it automatically
save it by hand and you're done.
For me yours was a great job!
Now my new problem would be to add Microsoft Teams url to the mail body.
Always keep event and in the same way create a link for a videocall with
Teams. But unfortunately there's nothing public that explains how to use
Microsoft api with PHP or javascript.
I thought it would be necessary to authenticatr with a microsoft account
and give orgsnizer, date, time (Maybe event partecipants) there could be a
call that returns the link of this 'private room'.
Best regard
Giuliano
Il mar 5 nov 2019, 12:20 Marcus Bointon <[email protected]> ha
scritto:
… There were some small changes relating to this recently (#1870
<#1870>), mainly to fix
problems in outlook, however, they are pretty sane changes that should not
have a major impact. Unfortunately, ical support in email clients is
horribly inconsistent, as was discussed in #175
<#175>. In short, it appears
to be impossible to create properly constructed messages that work as the
standards say in all email clients - fixing it in one always seems to break
it in others.
Can you try using current master branch? There are some issues fixed in
there that might make a difference to this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1880?email_source=notifications&email_token=AJBD3J3XY3B6W7RRCRWYM33QSFJJNA5CNFSM4JJBE6OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDCP2JA#issuecomment-549780772>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJBD3J6ENFHXIYZF5TWUHODQSFJJNANCNFSM4JJBE6OA>
.
|
Hi,
I've been using phpmailer from 2 years to send event invite without any problem: on android and iphone phones are automatically recognized for outlook I have to click on the ics attachment.
Problem is with new update IOS 13 that not working.
First I had to keep the SEQUENCE property progressive otherwise the first event update didn't recognize the event anymore (Evident that before was based only and exclusively on the ID event).
Now I do not appear anymore the buttons yes / no / maybe but this I think because it doesn't recognize the multipart anymore.
So now it only works by clicking on the ics attachment with the problem that once I save the event I can't delete it from the calendar unless the organizer delete it.
I tried to specify the property CLASS: PUBBLIC but nothing.
With IOS 10 it works correctly.
The text was updated successfully, but these errors were encountered: