* On Tue, Apr 28, 2015 12:09PM -0400 Peter P. (peterpar...@fastmail.com) 
muttered:
> Is there a way to have an html email rendered and displayed in a browser
> window?

There used to be a page about that in the mutt wiki (wiki.mutt.org)
though I cannot find it right now.

In short:

~/.muttrc
# i prefere text/plain thank you (show text part of multipart messages
# rather then html
alternative_order text/enriched text/plain text/html

# this is needed for the autoview part in mailcap
auto_view text/html

~/.mailcap
# used when (v)iewing (use any browser you like)
# text/html; w3m -v -F -T text/html '%s'; nametemplate=%s.html
# text/html; /usr/bin/opera -newpage '%s'; test=test "$DISPLAY" != ""
# text/html; /usr/bin/firefox -new-tab '%s'; test=test "$DISPLAY" != ""
text/html; links2 -codepage utf8 '%s'; nametemplate=%s.html; needsterminal

# for autoview
text/html; lynx -stdin -dump -force_html ; copiousoutput; needsterminal

HTH,

Michael
-- 
PGP-Key-ID:     EEE7D043
Jabber:         in...@jabber.de

Reply via email to