I\'m currently sending html formatted emails from PHP\'s mail() function and checking them simply to make sure they are showing up as HTML (formatting aside, I\'m well aware tha
The above answers are pretty good, just wanted to add a few more points. All credits to this link:
Gmail only supports in the
. Gmail does support embedded styles (
). However, embedded styles are only supported in the head of your HTML document. The Gmail Android and iOS apps does not support
at all when rendering emails retrieved through non-Google accounts (GANGA).
Gmail removes your entire block if it encounters an error.
Gmail does not allow negative CSS margin values.
Gmail does not support attribute selectors and most pseudo-classes. e.g. div[class="content"]{ color: red }
. Gmail also does not support pseudo-classes like :checked
and :active
.