Skip to content

Mime parts of email are no more encoded with quoted printable #23643

Closed
@ffauvel

Description

@ffauvel

Preconditions (*)

  1. 2.2.8+

Steps to reproduce (*)

  1. Add a lot of css to the email template
  2. Complete an order

Expected result (*)

  1. The email is sent to the customer

Actual result (*)

  1. 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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions