I usualy just find answers on StackOverflow but couldn’t find anything good about this subject.
I have a C++ program that needs to send formatted html with CSS (and embeded images) and the main e-mail client we are intersted in is Outlook 2003/2007. I have a HTML page ready and I can send it from IE (file -> send page by mail) and it is ok, once I have my program read the same file and send it none of the CSS actually works, only the simple HTML.
Thanks
As mentioned above, external CSS is not supported in most email clients.
Also, if you are using background css, you will find several email clients (GMail for example) wont support them. Though there are work arounds
I tend to make all CSS inline and keep it as simple as possible.
What are you trying to do with you CSS?
Edit:
This is how i got it working. Using a combination of inline CSS and HTML.
Edit2:
For Outlook 2007, try adding the repeat. So
Edit3 :
If all that fails. Try this