On Wed, Dec 05, 2001 at 08:13:34AM +0530, Ajitabh Pandey wrote:
> 
> > Mutt on RedHat comes preconfigured to use the urlview program to do
> 
> But how to see html mails in mutt. It has to do with mailcap 
> entries and  lynx. My bad,  i do not remember it, Suresh did 
> tell this on list

Step 1 : Remove comments and add to your .muttrc:

------------<snip>----------
# some people insist on using HTML mail
# this will automatically convert HTML to Plain Test (via 
# settings in ~/.mailcap and ~/.mime.types)

auto_view  text/html 
 
# This tells mutt which MIME type to preferr to show, if 
# both are in a message

alternative_order text/plain text/html

------------</snip>---------

Step 2 : In your ~/.mailcap add these lines:

------------<snip>----------

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

------------</snip>---------
 
Step 3 : In your ~/.mime.types add these lines:

------------<snip>----------

text/plain          text txt
text/html           html htm

------------</snip>---------

HTH

Bish.

--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Optimising updatedb database                   LOST #136

Updatedb creates a database of all installed files  and  saves
usually to /usr/local/var/locatedb. Certain entries waste time
and space. Rename and make a symlink, or make a script with:
#updatedb --prunepaths="/var /tmp /mnt /cdrom /floppy /proc"

####<[EMAIL PROTECTED]>####################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to