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.
In the received email message the body starts with <div>
.
My template starts with:
<html>
<head>
<?php print drupal_get_css($styles); ?>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
This causes a few problems, for one the stylesheet doesn't get included.
Comments
Comment #1
HansKuiters CreditAttribution: HansKuiters commentedSeems the problem lies in Emogrifier module. There is an issue to use only Emogrifier class for rewrites and not the rewrites in Emogrifier module: #1842946: Modify HTML code only by the Emogrifier library. Using the patch in that issue solves this problem for now.