On Sat, Sep 05, 2026 at 02:05:10PM -0500, Ranjan Maitra via Mutt-users wrote:
In particular, is there a way to inline these messages (losing whatever
it loses, such as remote images, etc, or perhaps not) and still read
them in mutt?
I have this in my ~/.mailcap:
text/html; w3m -I %{charset} -o display_link_number=1 -cols 72 -T text/html
-dump ; copiousoutput
It uses w3m to inline the HTML render of the message. Other people
prefer to use lynx or links or whatever.
You'll also need this in your .muttrc:
alternative_order text/plain text/html
auto_view text/html
This tells mutt to prefer plain text over HTML, but if there is only
HTML present, render the text/html part (according to the .mailcap
instructions).
There are a lot of tutorials with similar instructions out there. For
example: https://tobi.byte23.net/posts/html-mail-in-mutt/
Cheers,
--
José María (Chema) Mateos || https://rinzewind.org