procmail
[Top] [All Lists]

Re: HTML attachments

1997-06-25 22:01:00
On Tue, 24 Jun 1997, Paul O Bartlett wrote:
    Well, this is not a procmail solution, but I presume you are using
Pine under some flavor of Un*x.  If so, and if Lynx is installed on
your system, you can make a mailcap entry which will allow you to tell
Pine to invoke Lynx and render the HTML directly.  That's what I do
for the case of these twerfs who use Internet Exploder or Nut$crape
and haven't the foggiest that a lot of the world does not look like
their cutesy-pie screens.

Sometimes I get mail that is 100% html, not just a little html.  Here's
what I do with it...

i send the body of any message with <HTML> and </HTML> in it to be filtered
by this shell script:

#!/bin/sh
tmpfile="/tmp/lynxtemp.$$.html"
cat >> $tmpfile
lynx -dump $tmpfile
rm -f $tmpfile


works good, not with mime attached stuff though...  I usually just don't
worry about that.

--=-=-=-=-=-=-=-=-=
Barry J. Bocaner
<barry(_at_)gslink(_dot_)com>
-=-=-=-=-=-=-=-=-=-

<Prev in Thread] Current Thread [Next in Thread>