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

Re: MIME converted to plain text?




I do use metamail.  See
http://dummy.us.eu.org/robert/software/procmail/mime.shtml

I also use James R. Davis's html-to-ascii perl script.

I convert everything I can to ascii text.

 > From: http://www.cs.utk.edu/~moore (Keith Moore)
 > Date: Tue  Feb  2,  4:34pm
 >
 > > What would be the quickest way to convert a MIME message to plain text using
 > > PERL?
 > 
 > I dunno, but it may well be easier to use metamail or MH.
 > 
 > > Do all MIME messages the use HTML type, have a copy of the text in
 > > the Content:Text/plain section as well as in HTML?
 > 
 > no.
 > 
 > > Or do only some E-mail programs do this?
 > 
 > fortunately, only some do this.
 > (and the people who wrote them should be shot.)
 > 
 > > If so then I could just cut the HTML section and not try to convert it.
 > 
 > the way you determine this is by looking for a multipart/alternative part.
 > if you see a multipart/alternative you can choose any one of the sub-parts
 > that it encloses.
 > 
 > Keith





Why do you want this page removed?