After udating from 6.x-1.0-alpha6 no css in included. In the source of a testmail the header has no inclusion of a css file:
mimemail-message.tpl :

 <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php if ($css): ?>
    <style type="text/css">
      <!--
      <?php print $css ?>
      -->
    </style>
    <?php endif; ?>
  </head>

Result:

<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body id="mimemail-body">

On the MimeMail setting page the checkbox "Include site style sheets" is not selectable. I have a mail.css file in my default file folder.
Thanks

Comments

sgabe’s picture

On the MimeMail setting page the checkbox "Include site style sheets" is not selectable. I have a mail.css file in my default file folder.

It is not selectable because you have a mail.css file.

hs@henrikstrindberg.se’s picture

Thank you! Now I could verify that MimeMail finds the mail.css file. But it doesn't include it. But 6.x-1.0-alpha6 did. Any idea why?
All best

sgabe’s picture

I think you are experiencing the following issue: #1423382: mimemail.theme.inc does not load on some code paths.

Sorry, that could be true only if you would be using the 7.x branch.

corina mulholland’s picture

Category: task » bug

I also seem to have lost all of my webform formatting since updating Mime Mail (no div class=*** in my email code).

sgabe’s picture

@corina mulholland: There is no need for the class attributes in a compressed message. They are removed by default, though you can disable this on the settings page, see #1643750: Remove class attributes from the compressed message.

tr’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D6 is not supported anymore. If this is still a problem in the D7 please open a new issue with detailed instructions for how to reproduce the problem.