The problem is: Virtuemart invoice emails looks ugly in the most of web-mail systems (including gmail.com) because they have a css in the headers which are filtered by mail system. Thus styles are not applied and emails looks very poor in webmail, although they looks good in Outlook.
The view of mail in VirtueMart 2.0.x is defined by template: components\com_virtuemart\views\invoice\tmpl\mail_html.php
Styles are defined inside of head tags:
<head>
<style type="text/css">
body, td, span, p, th { }
table.html-email {
margin:10px auto;
background:#fff;
border:solid #dad8d8 1px;
}
.html-email tr{
border-bottom : 1px solid #eee;
}
...
...
</style>
</head>
How to make emails from Virtuemart in clean html, without css in headers? I don't think that re-write all default email templates with inline styles is good way, probably there is some easier solution...
<head>. You may have to resort to inline styles. Here is a great compatibility chart for CSS in email: campaignmonitor.com/css - Dryden Long