Hi,
I have a problem with email sent to shopper containing order informations.
The email contains css style, but rules are not applied at all to the html elements in the email.
I tried to send the email both to a Gmail and a Yahoo email address, but the problem is the same.
What could be the reason?
Thank you very much
Dan
Where are your css styles? Included in the shopper mail?
Yes they are included in the shopper email.
It is the default virtuemart template. I didn't change anything.
Last update. The problem I explained doesn't exist if receiver is a yahoo mail.
With Gmail the problem exists. I don't know with other email domains.
What could be a modification in virtuemart php files in order to make the template more compatibile with all emails?
SOLVED
I've discovered that this is just a problem in Gmail (and maybe in some other email provider I don't know).
Gmail accepts only inline css rules.
I fixed the issue by taking all css rules written in .../invoice/mail_html.php and rewriting them inline in html tags.
I have not figured out how to solve the problem, you can tell me the exact solution. thanks
I replied to you SergioBo in another thread about this issue.
You'd posted there the same question, do you remember?
Dear Garda,
Could you please provide me an example of your solution? I have checked the regarding php file, but it starts with <html> and ends with </html>
I hope to hear from you soon.
Kind regards
Renata