Sun 98-02-08 Michael Ghens <michael(_at_)spconnect(_dot_)com> list.procmail
| I am one of those pine text based email user. I have a few people sending
| e-mail to me in mime-html <grrr>.
|
| I need a procmail script to clean this up! (No, rejecting it or not
| reading the messages is not an option)
Do you mean that you receive html attachements? Or do you mean that
the entire message is in html?
[to convert html to text]
If you receive pure html text, then use this
:0 fbw
* condition-to-determine-pure-html-body
| perl -0777 -pe 's/<[^>]*>//g'
[to kill extra attachements]
I wrote the MIME killer recipe to address this problem.
It will kill all known extra MIME cruft from MS or netscape programs and leave
the pure text.
Just install
INCLUDERC = $PMSRC/pm-jamime-kill.rc
From the pm-code.shar, Available from file server mentioned in X-info header.
Cheers!
jari
[...]
# Applications...
#
# Lotus Notes sends similar extra attachement and you can use this
# same recipe to kill it. See example section.
#
# Microsoft Express sends a copy of message in html format in the
# attachement, you can kill that too, see example section.
#
# Netscape's Mozilla sends a copy of message in html. See example.
# Also it sends `vcards'
#