-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions (*)
Magento 2.2.8 in production mode. Use production mode to reproduce this bug, because only in this case, less code will compiled and minimized to one line.
Steps to reproduce (*)
Send an email with the default magento header.
vendor/magento/module-email/view/frontend/email/header.html
Have a look at the source code of the mail.
The line with the rendered css from css/email.css is too long, in my case 5611 octets. this is too long. allowed are max. 998 characters for one line. some mails will not reach the reciver, because some mailservers do not accept mails with long lines.
Expected result (*)
- minimizes css, but not in one line. no line longer than 998 characters.
Actual result (*)
- one line, 5611 characters.
I think, this issue is about the same topic. https://github.com/mageplaza/magento-2-smtp/issues/156 (another magento extension, but this is not a mageplaza bug...)
Metadata
Metadata
Assignees
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed