Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The email message headers are not constructed correctly which causes problems with Mailhog and possibly other mail clients. Also, the HTML gets printed in the email and not used as tags, as it should be.
Comment | File | Size | Author |
---|---|---|---|
#2 | mime_html_messages_are-2806795-2.patch | 977 bytes | hussainweb |
Comments
Comment #2
hussainwebThis patch fixes the above two problems for me.
Comment #3
hansfn CreditAttribution: hansfn as a volunteer commentedI can confirm that the fix in templates/mimemail-messages.html.twig is essential. The fix to the mimeMailRfcHeaders (in src/Utility/MimeMailFormatHelper.php) wasn't crucial for me, but I can imagine some mail clients disliking the lacking space.
Hopefully this gets committed now.
Comment #5
sgabe CreditAttribution: sgabe commentedCommitted, thanks!