-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[2.2][Backport] Transfer Encoding of emails changed to QUOTED-PRINTABLE #23650
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
[2.2][Backport] Transfer Encoding of emails changed to QUOTED-PRINTABLE #23650
Conversation
Hi @gwharton. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Added Content-Disposition: inline to all MIME emails Implementation now matches previous ZF1 implementation
Hi @sivaschenko, thank you for the review.
|
✔️ QA passed |
Hi @gwharton, thank you for your contribution! |
Original PR (*)
Description (*)
When Magento used Zend Framework 1 for emails, MIME emails were sent with Transfer Encoding set to QUOTED-PRINTABLE. This means that emails with long lines (particularly emails with large inline css) are encoded properly. This can be confirmed by running tests under 2.2.7.
When Magento switched to Zend Framework 2, the default Transfer Encoding was set to 8-bit. This emails with long lines were being rejected by some mail servers as they were not encoded quoted-printable as expected.
Magento 2.2.8+ and 2.3.0+ are affected by this.
This PR changes the default encoding of all MIME emails to quoted-printable.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)