Reading html mail with mutt
Joel Hammer
joel
Mon May 17 11:56:41 PDT 2004
I thought I would pass this along since this took me a while to get
working.
I don't know how the pro's (mutt pro's) do this, but I finally got mutt
to read html mail. I put this line in /etc/mailcap:
text/html; /etc/alternatives/mozilla -remote 'openFile (%s,new-tab)' 1>/dev/null 2>&1 || /etc/alternatives/mozilla %s
Of course, this only works if you are reading mail in a GUI, not a
virtual terminal. Naturally, your path commands will vary. You have
to track down where the mozilla binary really resides. In my system,
you have to ignore the artsdsp stuff, the nslauncher stuff, and then find
the binary hiding behind a couple of symbolic links.
This took me a while to figure out, since this is not the format they
tell you on the mozilla page (Those single quotes are double quotes
in the mozilla remote command section, but double quotes don't work.)
I couldn't get this sort of approach to work with opera, even though opera
is supposed to have similar remote command capability. If anyone gets
opera working like this, let me know, since I prefer opera for its speed.
Joel
More information about the Linux-users
mailing list