[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Approving Majordomo posts



Chris Wagner wrote:

> Header: blah
> Header2: blah blah
> 
> This is my message
> 
> <HTML>
> This <i>is</i> <b>my</b> message
> </HTML>
> ------------------------------------
> HTML enabled mailers ignore the plain text and display the HTML. If your
> people use one of those mailers and have the Approved line as the first
> line, it will also be the first line of the message plaintext.

Not so.  From what I have seen, this type of message is known as
"multipart/alternative".  In the example you show the message text would
actually be something like this:


------------------98tgihrfsjdh6345
Content-type: text/plain

This is my message

------------------98tgihrfsjdh6345
Content-type: text/html

This <i>is</i> <b>my</b> message

------------------98tgihrfsjdh6345 is a string used to separate the MIME
types and would be defined by the mail header, something like this:

Content-type: multipart/alternative;
boundary="------------------98tgihrfsjdh6345"

Fraser


Reply to: