Closed
Description
Preconditions (*)
- 2.2.8+
Steps to reproduce (*)
- Add a lot of css to the email template
- Complete an order
Expected result (*)
- The email is sent to the customer
Actual result (*)
- The email is rejected by the mail server - Error message: Message too big
Before 2.2.8, Magento was using Zend_Mail and Zend_Mime_Part (from ZF1) to send email.
The default encoding of Zend_Mime_Part was QUOTED_PRINTABLE.
In Magento 2.2.8+, they switch to Zend\Mail (from ZF2). The default encoding is 8bit.
It should be change back to QUOTED_PRINTABLE to avoid overlong lines.