Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I read in Wikipedia that there are several ways of using rich formatting in emails:

But I am not sure I understand the differences between them. More specifically:

  1. Are they all part of the same standard or set of standards?
  2. Are they all equally supported by the major webmail service providers such as Gmail, Hotmail, etc?
  3. Which one is used when a user chooses Rich formatting when writing an email in Gmail, Hotmail or a similar email provider?
  4. What is the degree of compatibility between stand-alone and web-based email clients when it comes to email rich formatting standards?
share|improve this question
1  
Microsoft Outlook (not Outlook Express) also has an option "Rich Text Format (RTF)". This should be avoided, as it only works fine when the recipient uses that very same format (and even then it might fail if intermediate servers convert the message). When the recipient's email software does not support it, then one might see odd "winmail.dat" attachments. (Which non-Outlook users can decode online, but often just hold formatting information, no real attachments at all.) –  Arjan Feb 7 '11 at 17:39

1 Answer 1

up vote 6 down vote accepted

Unlike others you've mentioned, MIME is not a rich text format by itself. While MIME and "Enriched text" are part of the same set of standards designed specifically for email, HTML is a markup format initially developed for the Web by the W3C.

However, nowadays most email clients and services use HTML for rich text formatting. This is because email clients and webmail services can re-use existing HTML rendering engines for displaying email:

  • webmail is in your browser; it uses your browser's rendering engine
  • Microsoft Outlook (at least some versions) uses Internet Explorer's engine
  • Apple Mail uses WebKit, the engine powering Safari and Chrome browsers
  • Mozilla Thunderbird uses Gecko, the same as Firefox

HTML email also allows for styling with CSS, enabling professionally designed email campaigns.

Therefore, HTML format is used when you use the "Rich formatting" mode for email. It is well-supported in all popular email clients, including webmail. It is the CSS support that varies wildly between clients, especially in webmail where different services (e.g. Gmail, Hotmail) force different limitations on what can be styled and in what way.

I think the reason why "Enriched text" has not seen wide adoption is not that HTML is "better" for email (there are too many reasons why HTML is not well-suited for email to list here), but because people used what they were already familiar with and what they have existing rendering engines for.


There is something else to add here. Not all email clients run in a graphical environment; there is a significant portion of people who prefer to read email from terminal emulators ("from the command-line", in other words). Therefore it's important that all email also carries a plain-text format of its contents. Regardless of whether you use the "Rich formatting" mode while you compose email, Gmail always includes the message body in plain text format. I suspect other modern email clients do the same, although I haven't tested.

When email carries multiple formats—HTML & plaintext, in our case—it's up to the email client that receives it to choose which one it will present to the user. Graphical email clients will render HTML by default, while text-only clients will ignore the HTML version and just show the plain-text one.

share|improve this answer
1  
Fantastic answer @mislav. Thanks for clarifying all this. –  user815423426 Feb 7 '11 at 17:20
3  
There is, however, a huge difference in how email software (ab)uses HTML while sending. Like when bolding some text, Apple Mail simply only uses <b>bold</b> for that part, without specifying any other formatting. For the same text, other software might also set a specific font and size that is to be used, even for text that is not explicitly formatted at all, or even when no text at all is formatted by the user. That also explains why emails from some sender might look different from messages sent by others. –  Arjan Feb 7 '11 at 17:34
    
There are a ton of limitations with web mail. Outlook of some years uses Word, others uses Wordpad (I think), others use IE to render. Gmail doesn't understand linked css stylesheets. –  tobylane Feb 7 '11 at 21:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.