Re: how to view inline html as text?
On 2008-05-19, Gary Funck <gary@xxxxxxxxxxxx> wrote:
> Hello, I've been receiving a fair number of e-mails
> recently where the message body is inline HTML.
> Mutt displays the message as uninterpreted HTML,
> where 'v' (view) views the message as expected.
>
> I have the following mailcap entry:
> text/html; /usr/bin/htmlview %s ; copiousoutput
>
> The headers in question are:
> Content-Type: text/html; charset="utf-8"
> Content-Transfer-Encoding: base64
> Content-Disposition: inline
>
> What sort of mutt magic do I need to add that will
> cause this inline HTML message to be converted,
> and displayed as text?
You need to have this line in your muttrc:
auto_view text/html
Regards,
Gary