4 ms·
For the HTML email that doesn't work as intended (which is not a lot, mostly newsletters, which I prefer to read via RSS), I use https://github.com/tshirtman/.m
by rinze 4y ago
For the HTML email that doesn't work as intended (which is not a lot, mostly newsletters, which I prefer to read via RSS), I use https://github.com/tshirtman/.mutt/blob/master/mutt_bgrun https://github.com/tshirtman/.mutt/blob/master/mutt_bgrun and this macro. It picks up the first HTML attachment in the mail, saves it to a local file and opens it in a Firefox tab (and Firefox is already typically running):
macro index,pager ,b "<view-attachments>/html<enter><view-mailcap><exit>" "View first HTML attachment in browser"
You'll need to combine it with this entry in .mailcap:
text/html; mutt_bgrun /usr/bin/firefox %s >/dev/null 2>&1; needsterminal
- eqvinox 4y agoThat'll presumably load all the spam tracking pixels if you ever accidentally open a spam mail, no? Displaying HTML e-mails really needs to run with all external resource fetch disabled…
- mattbillenstein 4y agoWill give it a whirl, I also have a roundcube install on my mail server (via mail-in-a-box), so it's easy enough to just flip to a tab and read it there... Still only use mutt for composing.