Artikel #41

How does one configure mutt to display attachments of type text/html?

You need to have to things for this to work: a mailcap entry for text/html, and configuration which directs mutt to check automatically for files of this type.

w3m(1) produces a nice output of HTML in text format. We use it to dump output. In ~/.mailcap add text/html; w3m -dump -T text/html %s; copiousoutput.

To force mutt to check automatically for text/html, add auto_view text/html to the file ~/.muttrc. If you furthermore wish mutt to prefer text/html to text/plain in mail with a body of type multipart/alternative, add alternative_order text/plain text/html.

Related areas

UNIX , E-Mail


Search for: