develooper Front page | perl.vmsperl | Postings from June 2002

Re: OFF-TOPIC: plain-text vs html [WAS: RE: perl@17303 snapshot(on Alpha VMS v7.3, cc6.5, tcpip 5.3)]

Thread Previous
From:
John Peacock
Date:
June 19, 2002 12:33
Subject:
Re: OFF-TOPIC: plain-text vs html [WAS: RE: perl@17303 snapshot(on Alpha VMS v7.3, cc6.5, tcpip 5.3)]
Message ID:
3D10DBED.1010106@rowman.com
Craig A. Berry wrote:
> Nope, though the content-type is a bit odd:
> 
> Content-Type: multipart/alternative; 
> boundary="----_=_NextPart_001_01C217C3.D0171370" 
> 
> I wonder if that's what Micro$oft uses to send the message as both text and 
> html, leaving to the receiving part to decide which type it wants.  I'm only 
> seeing it in plain text, though, with Eudora as MUA.
> 

The above is the ordinary container type when you have two (or more) sub 
messages.  Look at the message source, here is the text header:

------_=_NextPart_001_01C217C3.D0171370
Content-Type: text/plain;
	charset="iso-8859-1"

and here is the HTML header:


------_=_NextPart_001_01C217C3.D0171370
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


It just so happens that Eudora chooses to display the text/plain part and in may 
case that Mozilla displays the text/html part.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About