[geeks] HTML email in mutt

Joshua Boyd jdboyd at jdboyd.net
Sat Jun 14 15:20:06 CDT 2008


I want to be able to view some html email in mutt.  So, I added the
following lines to the indicated files.

.muttrc:
auto_view text/html

.mailcap:
text/html;        lynx %s; nametemplate=%s.html
text/html;        lynx -dump %s; nametemplate=%s.html; copiousoutput

Now the issue I'm having is that for messages that come with both a
proper text body and an HTML version, like ebay messages, I see the HTML
version instead of the text version, which means that I do not see the
URLs.  Does anyone have a trick for defaulting to the text/plain section
before the text/html section?

Also, does anyone have a trick for detecting when the text/plain section
is really HTML as well?



More information about the geeks mailing list