I had some reactions on my perl-script to be able to read HTML-mail.
So I was motivated to do more work on it and to look deeper into the
problem.

Here is a new perl-script: htmlmail.pl.

First, you don't need my script if you want to use 'lynx'.
Second, my script doesn't need 'lynx' anymore and can print in PostScript.


Solution 1:
Add to ~/.mailcap:
---------------------------------------------------------------------
text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html
---------------------------------------------------------------------
if you want 'lynx' to reformat the HTML-mail.

Solution 2:
Add to ~/.mailcap:
---------------------------------------------------------------------
text/html; htmlmail.pl; copiousoutput; print=htmlmail.pl -p
---------------------------------------------------------------------
if you want my script and want to be able to print the HTML-mail in
PostScript.

Put this script somewhere in your path, do a 'chmod +x htmlmail.pl' and
enjoy it.

Cees.
-- 
bIHeghvIpchugh bIHeghpu'.
If you are afraid to die, you have already died.
       Mark Okrand, "Star Trek: The Klingon Way - A Warrier's Guide"

htmlmail.pl

Reply via email to