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

Emails not rendered by Apple Mail #218

Open
hgwood opened this issue Jan 25, 2022 · 1 comment
Open

Emails not rendered by Apple Mail #218

hgwood opened this issue Jan 25, 2022 · 1 comment
Assignees

Comments

@hgwood
Copy link
Member

hgwood commented Jan 25, 2022

Dynamic emails (with Google AMP), like the ones sent by this app, are not supported by all email clients. This is why this app's email also contain a classic HTML version. However, Apple Mail does not render the HTML version like other clients, and instead displays the raw code of the dynamic email.

It’s now safe to send AMP emails to all email clients except Apple Mail, the Doodle team found. But there is a workaround for Apple Mail. To get AMP for Email to work in Apple Mail, you’ll need to reorder the MIME types of email, said Wuergler. The RFC 1341 spec order is plain text, HTML, with any other format listed last. To get AMP for Email to work in Apple Mail, re-order to plain text, AMP, HTML. “It breaks spec, but it’s an unfortunate workaround,” said Wuergler. Otherwise, you’ll get garbled text that is not readable by a human.

Source

The workaround proposed here cannot be implemented in this app because it uses Mailgun to send emails, which does not support MIME type re-ordering.

@hgwood
Copy link
Member Author

hgwood commented Jan 26, 2022

Looks like I was wrong: Mailgun docs say they do order the MIME types according to the workaround: https://documentation.mailgun.com/en/latest/user_manual.html#sending-an-amp-message. So why doesn't it work for us? Maybe we are using a version of the client that is too old and talk to an old version of their API that does not do this reordering?

@hgwood hgwood self-assigned this Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant