about img
blogger img

buchos posts img

Corys posts image

UnderPaidLoveMonkis posts img

scotts posts image


Viewing HTML pages in Mutt

Scott Rippee @ 12:05 am July 27th, 2006

Using an all text based email reader, such as Mutt has its advantages and its disadvantages. Without going into what I consider advantages, my biggest annoyances are not being able to view picture attachments from within the browser and the frequent emails that contain HTML tags.

For the ladder there is a good solution, use a console based web browser as a viewer. Three quality products exist: w3m, links, and lynx. Of these w3m and links are the most powerful with w3m being the winner in my book.

Add one of the following to your $HOME/.mailcap and Mutt will use it to render html:

w3m
text/html; w3m -T text/html %s; needsterminal;

links
text/html; links -force-html %s; needsterminal;

lynx
text/html; lynx -force_html %s; needsterminal;

One Response to “Viewing HTML pages in Mutt”

  1. Marc Says:

    This is ultimately why I ended up switching to Thunderbird, though I occasionally miss the old Mutt.

Leave a Reply

Subscribe without commenting