[plug] FW: Message formatting

Mark Tearle mtearle at tartarus.uwa.edu.au
Wed May 10 17:32:16 WST 2000


On Wed, 10 May 2000, Mike Holland wrote:

> > > Most HTML mail seems to be mime multipart/alternative, so you can choose
> > > which version to read. No need to strip HTML tags, just ignore the HTML
> > > version.
> > 
> > I'm not really sure if this will work in practice.  For example, if you
> > are using a mailer like Netscape which can display HTML emails then it
> > will display the HTML version rendered.  There is no real choice
> > involved. If the aim is to not see any HTML formatted email then you
> > would still have to filter the HTML tags from that version.
> 
> You could get procmail to detect the "Content-Type:multipart/alternative;"
> and filter at the MIME level, before netscape et al can see it.
> 
> Are there any mime utilities suitable? It wouldnt be too hard in perl.
> 

Have a look at <http://mirror.ncsa.uiuc.edu/procmail/ssjaaa/pm-tips-body.html>

There's a procmail recipe to do it there.

Yours
Mark "who has been hacking sendmail and feels dirty"
-- 
Mark Tearle - mtearle at tartarus.uwa.edu.au

"We are all in the gutter, but some of us are looking at the stars."
                                                       -- Oscar Wilde




More information about the plug mailing list