I have tried to put the CSS in the HTML HEAD, a style block in htmlmail--htmlmail.tpl.php, and inline, but styling is not happing for H1s and the body (which has a background url/image). Any ideas of how to get this working?

I have a CSS defined in my custom email theme's .info:

stylesheets[all][] = style.css

I have tried this with the FUll HTML text format and one that I created for HTML Emails. The HTML email format has the following filters enabled:
* Emogrifier
* Convert all characters to US-ASCII
* Convert line breaks into HTML (i.e. <br> and <p>)
* Convert URLs into links
* Correct faulty and chopped off HTML
* Correct URLs with Pathologic

But my css file does not get attached

Comments

webatelier’s picture

Same issue here, did you ever solve it ?
tia

RobKoberg’s picture

No. We are using a service when we need to use HTML emails. I will be looking into this module soon: https://drupal.org/project/mailchimp

webatelier’s picture

I ended up using mime mail module with the mailsystem module. Works fine ...
Fyi

salvis’s picture

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