I created my own template, added to my style.css needed rules, but e-mail comes unstyled - without any css rules (but I can see that it uses proper template).
I tried to insert
I created my own template, added to my style.css needed rules, but e-mail comes unstyled - without any css rules (but I can see that it uses proper template).
I tried to insert
Comments
Comment #1
roball commentedI have solved this by editing the
htmlmail.tpl.phptemplate residing in your Email theme directory to contain the following:This will insert the contents of a
mail.cssCSS definitions file residing in your current theme directory. Thus the same CSS file used by the Mime Mail module will also be used by the HTML Mail module.Make sure to
ln -s htmlmail.tpl.php htmlmail-htmlmail.tpl.phpin the current theme directory, so the same template will also be used to send test mails by the HTML Mail module from admin/settings/htmlmail/test.
Comment #2
jacob.embree commented