Hello, mutt.

I'm using mutt 1.5.23 on Gentoo GNU/Linux.

>From time to time I get html coded Email.  This is not being rendered to
text, rather it is just dumped to my screen as is, with html tags and
all.  This is not a good thing.

For example, a piece of spam I got recently includes the following
headers:

    MIME-Version: 1.0
    Content-Type: text/html; charset="UTF-8"
    Content-Transfer-Encoding: 8bit

, and its body starts off like this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
    <html>
    <head>
    </head>
    <body>
    <p><span style="font-size: small; font-family: verdana,

.  I have no reason to think that the html is malformed.

I have played around a little with my ~/.mailcap file (which generally
works, e.g. for things like files.pdf), but nothing I do appears to have
the slightest impact on these html mails.  Currently, I have this entry
for text/html:

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

.  I don't believe mutt is paying any attention to this .mailcap entry.
At one stage, I put firefox into the line in place of lynx, but this
made no difference: the raw, unrendered mail was dumped onto my
terminal.

I'm stumped.  Would somebody please help me get this working.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).

Reply via email to