I recently managed to set up the my mailcap so that mutt can show html e-mails in the message window:
# ~/.mailcap
text/html; lynx -dump '%s' | more; nametemplate=%s.html; copiousoutput;
which is automated by:
# ~/.muttrc
auto_view text/html
Although I think lynx does a decent job on decripting the html to text, sometimes this doesn't cut it and I would like to be able to open the html attachment in my web-browser (luakit).
Is there a way to transparantly do this? A good workflow for me would look like:
- open mail (
lynxconverts it) - see that it is to complilcated for
lynx - press "v"
- navigate to html attachment
- press "enter" to open in
luakit.
text/html; luakit %sbesides, auto_view doens't matter in this case, since html are actually attachments – warl0ck Jul 10 '12 at 9:45