HTML mail which isn't handled correctly by 'auto_view text/html

Chris Green cl at isbd.net
Tue Feb 5 22:10:51 UTC 2019


I am getting notification E-Mails from DPD which aren't handled
correctly by 'auto_view text/html' in my muttrc and 'text/html; lynx
-dump %s; copiousoutput; nametemplate=%s.html' in .mailcap.

Presumably it's simply that there is no 'text/html' string in the
headers, I just get to see the raw HTML.  In fact there is the
following:-

    ...
    ...
    ...
    Subject: Your order 3179771 is due for delivery by DHL Parcel UK
    Content-Type: multipart/alternative;
            boundary="--boundary_145134_db6b4c85-2751-452f-bf4b-c56010b07587"
    Message-ID:
    <eaa14d01-a923-4fcd-8ff1-88ed5b135903 at BH-EXCH01.business-post.com>
    Status: RO
    Content-Length: 20807
    Lines: 285

    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable

    <!DOCTYPE HTML>
    <html>
    <head>
        <!-- Define Charset -->
    ...
    ...
    ...

So that would explain it!  Is there any way to manually ask mutt to
treat this as text/html?



-- 
Chris Green


More information about the Mutt-users mailing list