[TriLUG] Handling HTML mail
    John Beimler 
    john at radiomind.com
       
    Tue Feb  4 12:38:40 EST 2003
    
    
  
Noticed there is some html email coming across the list, but not because
I see it.  Heres how I strip the html bits from email using procmail & 
perl.
from .procmailrc
----------------------------------------------------------------------------
# If a message is MIME and under 100k, remove the HTML version if
# neccesary.
:0 fw
* ^Content-type:.*boundary
* <102400
|/home/john/bin/strip_html.pl
----------------------------------------------------------------------------
and strip_html.pl is attached.  Makes reading email easier.
Peace.
john
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strip_html.pl
Type: application/x-perl
Size: 1722 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030204/69e95f20/attachment.bin>
    
    
More information about the TriLUG
mailing list