[Mimedefang] HTML Rewrite

J.P van Oyen jeepee at pbnec.nl
Fri Apr 26 06:23:05 EDT 2002


Hai,

Did anyone already make a filter to delete HTML tags in mails ?

I would like to change HTML mails into plain text mails.
YAHOO mails etc are delivered like this and I would like to kill all 
<.......> and maybe common special chars like   or translate them to 
their HTML function so   to a " " (space char) and a :
<a 
href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.brrrr.com"> 
to simply http://explorer.brrrr.com

Any hints tips tricks ?

Cheers .....

<x-html>
<html><div style='background-color:'><P><BR>blabla blabla blabla</P>
<P>blabla blabla blabla</P>
<P>blabla blabla blabla</P>
<DIV>blabla blabla blabla</DIV>
<DIV> </DIV>
<DIV>blabla blabla blabla</DIV>
<DIV>blabla blabla blabla</DIV>
<DIV>blabla blabla blabla</DIV>
<DIV> </DIV>
<DIV>blabla blabla blabla<BR></DIV>
<DIV>blabla blabla blabla<BR></DIV><BR></div><br clear=all><hr>Get your 
FREE download of MSN Explorer at <a 
href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>

</x-html>




More information about the MIMEDefang mailing list