Do webmail clients render emails with the browser they're loaded in?

4

1

I'm generating content rich emails and want to ensure it will look identical on all clients. In order to test Gecko, Webkit, Trident and MS Word I've viewed my email in Firefox, Safari, IE and Outlook 2007 respectively. But with Gmail and hotmail etc, do those render emails just using the browser they're being viewed in?

edwardmlyte

Posted 2011-03-07T16:16:38.567

Reputation: 579

Answers

4

Gmail and hotmail, themselves don't render HTML. The HTML portions of the email are rendered by the browser that they are being viewed in.

However, if Gmail, for example, presents a stylesheet, or embeded styles for the Gmail interface, it is possible for those styles to influence how the browser renders your HTML; however, they probably use class and id attributes that you are not using in your html, so it shouldn't be an issue.

JeffG

Posted 2011-03-07T16:16:38.567

Reputation: 351

Thanks for that. I figured that was the case, just wanted to make sure. – edwardmlyte – 2011-03-07T16:32:49.483

3

According this report from the Email Standards Project, Gmail strips out all class and id attributes from emails.

...But even if Gmail supported embedded styles in the head of a document, it strips all IDs and classes from the source....

I sent their "Acid Test" to my Gmail account and it seems to be behaving as described.


They also have a report for Hotmail, but I can't vouch for how up-to-date that one is.

David P

Posted 2011-03-07T16:16:38.567

Reputation: 137

I've gave you an upvote so you can add the link now by editing your post. If somehow you are under 10 reputation again, feel free to leave the link in the comments.

– Tamara Wijsman – 2012-03-01T03:53:05.910