3 ms·
I still use mutt mostly, but it's harder and harder as more emails come in as html - w3m only seems to get you so far...
by mattbillenstein 4y ago
I still use mutt mostly, but it's harder and harder as more emails come in as html - w3m only seems to get you so far...
- rinze 4y agoFor 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.