I've tried to follow the documentation very closely, but can't get an email sent through HTMLMail to duplicate the aspects of my theme.
1. I've installed the echo module
2. I've placed both html--html.tpl.php and html--simplenews.tpl.php in my theme directory as I'm trying to get either to work.
3. I am able to get the logo of my theme to appear at the top, but otherwise no other aspect of the theme.
4. If I disable the echo module,my theme's logo disappears; also if I turn Debug on the expected output from the above template is included in the tested email. so it would seem that the template files are being recognized.
5. I am using default *.tpl.php fles that come with the HTMLMailer distribution
6. I have created a filter that has:
Image resize filter
Convert all characters to US-ASCII
Correct faulty and chopped off HTML
Correct URLs with Pathologic
7. I have tried implementing Emogrifier in the filter, but when implemented it removes all paragraph spacing so in this situation it is better removed.
Does anyone have any idea what I might be missing here. The rendered email is basically a white background with the logo at the top and content of the email (without correct fonts or other css formatting) I'm trying to get an email that mimics this formatting http://salonvocal.com/advent
appreciate advice on this. Thanks
Comments
Comment #1
broonFirst off, your site at salonvocal.com seems to include some malware, I got a warning not to visit the site.
As for the styling, I had a similar problem. I am not using echo, but I created a dedicated email theme to use. When copying the htmlmail default templates, I added html, head and body tags to the template and included the themes css in the head tag. That way, I was able to get all my desired styles into the newsletter email. I am using emogrifier, which is stripping head and body tags but it adds inline styles to all elements.
Comment #2
salvis