Subject: HTML support in "mutt" (was: ntp.conf man page)
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-users
Date: 11/04/2007 14:41:01
On Sun, Nov 04, 2007 at 01:52:00PM +0100, Christian Baer wrote:
> Put this in ~/.mailcap:
> text/html; links %s
> 
> and this:
> set mailcap_path = ~/.mailcap
> 
> in your ~/.muttrc. That will let you view html with mutt.

There is a better way to view HTML from "mutt".

1.) Put this into "~/.muttrc":

alternative_order text/plain text/html
auto_view text/html

2.) Put this into "~/.mailcap":

text/html;	lynx -dump %s; nametemplate=%s.html; copiousoutput

That will configure "mutt" to view HTML in its internal viewer. You can
even respond to HTML e-mails properly. It will use the rendered version
of the HTML content for quoting.

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/