Sample Header Ad - 728x90

Open HTML attachments externally in Mutt

29 votes
2 answers
17403 views
I recently managed to set up my mailcap so that [Mutt](https://en.wikipedia.org/wiki/Mutt_(email_client)) 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](https://en.wikipedia.org/wiki/Lynx_(web_browser)) does a decent job on converting 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](https://luakit.github.io/) . Is there a way to transparently do this? A good workflow for me would look like: 1. open mail (Lynx converts it) 2. see that it is too complicated for Lynx 3. press v 4. navigate to HTML attachment 5. press Enter to open the mail in Luakit.
Asked by romeovs (1720 rep)
Jul 10, 2012, 09:34 AM
Last activity: Sep 19, 2022, 08:00 PM