Sending HTML Emails with inline Styles

JamesBowen

19+ years progress programming and still learning.
Hi all..

Today I spent most of my time converting a email program which sends Multipart emails (plain text and HTML).

As part of my testing I sent an email to my GMail account, and the test email looked S**t..... Gmail stripped out the style tag in side the head element.

Now is it possible take the embedded Style Sheet an inject a 'style' attribute into the html elements which are affected.

In a nut shell example:
HTML:
<p> something ..... </p> becomes <p style='aline:right;'> something ..... </p>
 
Back
Top