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

Chris Green cl at isbd.net
Fri Feb 8 09:49:17 UTC 2019


On Thu, Feb 07, 2019 at 07:50:36PM -0600, Derek Martin wrote:
> Chris,
> 
> Based on the excerpt you posted:
> 
> On Tue, Feb 05, 2019 at 10:10:51PM +0000, Chris Green wrote:
> >     ...
> >     ...
> >     ...
> >     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 -->
> >     ...
> >     ...
> >     ...
> > 
> 
> ...it appears this is a multi-part message, theoretically intended to
> have both an HTML part and a plain text part, where the first part is
> HTML that is idiotically marked as plain text, because their IT folks
> are too lazy/stupid to produce a proper multipart/alternative message.
> I would encourage you to complain to DHL, but I would also expect that
> to be futile, so I won't bother. ;-)
> 
> But the next thing I would recommend is look again at the message
> parts (press v on the message in the index).  There may be an actual
> HTML part that you're not seeing, because your settings prefer the
> plain text (as mine do).  In that case, Mutt is displaying the faux
> plain text, since you quite reasonably told it to, and doing it
> verbatim and not trying to run any conversion on it, since... DHL told
> Mutt it shouldn't need to.
> 
> Probably you can select the HTML and manually display it.  Either that
> or DHL is just really that bad at e-mail. :-(
> 
I'm pretty sure that there was only one part, I saved the message and
opened it with vi[le] and a quick scan through it showed the HTML
header stuff at the top and closing HTML at the end.

I will check more carefully next time I get one though, thanks.

-- 
Chris Green


More information about the Mutt-users mailing list