Reading HTML e-mail with Mutt

Glory be! It’s pretty easy to get nicely formatted output of those sneaky HTML e-mail messages (which all the young Internet kids are sending nowadays).

In your ~/.mailcap, if you use w3m (as I do):
text/html; w3m %s -o display_link_number=1; nametemplate=%s.html
text/html; w3m -dump %s -o display_link_number=1; nametemplate=%s.html; copiousoutput

And in your ~/.muttrc:
auto_view text/html

The Debian Administration site tells you how!

Advertisements