nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] (no subject)

2014-08-07 09:57:38
Hi Norm,

How is it decided that text/html is a better format than text/plain?

The RFCs that define MIME say that alternatives parts representing the
same content, e.g. text/plain, text/rtf, and text/html, shall be in the
email in order worst to best when judged by their ability to represent
the content.  This allows a user reading the email in an MUA that's not
MIME-capabable to come across the simplest format first, e.g. text/plain.

However, a MIME-capable MUA is to present just one of the alternatives
to the user, and that's to be the one with the best ability that the
system can handle, i.e. it's to start from the last and work backwards
until it finds one that's understandable, e.g. application/pdf.

This is why the emails you receive that commonly have alternatve
text/plain and text/html parts show the HTML part.  It's strictly by the
spec., but not what a lot of us would like so Ken's looking at adding a
-to-hell-with-the-spec option.

Cheers, Ralph.

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>