By Dubber Dan on
I've installed Mime mail and then followed the steps in the handbook here http://drupal.org/node/291762 (following option 1) to tweak the css for the emails so that they have a plain white background.
That works fine with form submissions from ym website coming to me in nicely formatted emails and with a black text on a white background.
I've just tried to reply to one of these messages (using Thunderbird) and the formatting has changed with the coloured background again and a different colour font!
Any ideas why this has happened and how to sort it out?
Ta
Dan
Comments
any one?
any one?
Email Css styling
I know that this is an old post but worth answering for those who don't know the stuff.
There are some of the email programs that supports some of the css properties styling while some only uses plain text and images.
And in your instance, when you viewed the email on the YM website(is that yahoo mail?) you viewed the colors properly then when viewing it on another email program it didn't show the color properly.
it's because some email programs supports #RGB color, while some don't. Today I research that hsl() function on css is better than #RGB when styling an email.
example:
additional note:
when styling an email, the header('Content-type: '); (in php of course) should be header('Content-type: text/html');
also there are no external stylesheet in the email so you should use an inline style property
for a complete list of supported styling on a certain email program go to this link:
http://www.campaignmonitor.com/css/#css-com_17