nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] rcvdist with non-default port


From: Steven Winikoff
Subject: Re: [Nmh-workers] rcvdist with non-default port
Date: Thu, 18 Jan 2018 20:02:14 -0500

>I'm a little surprised, I thought that mhstore would store the HTML without
>any modification because it just copies the bytes.

It does.


>the original message to verify?  I just tried it on a message here and the
>HTML content was preserved, even an img tag.

Your timing is good:  I just discovered my mistake about a minute before
you sent this. :-)

It turns out that the extracted HTML does contain an <img> tag -- it's
just that I'd missed it because I was searching for ".png" in the source,
and in fact the tag looks like this:

   <img src="cid:BARCODE" alt="" [...irrelevant bits elided...]>

Sure enough, the attachment containing the image has these headers:

   Content-Type: image/png
   Content-Transfer-Encoding: base64
   Content-ID: <BARCODE>

Needless to say, until now I'd never seen "src=cid:" in an <img> tag, and
hadn't known that was possible.

So I do have everything I need, I just need to put it together.

     - Steven
-- 
___________________________________________________________________________
Steven Winikoff                |
Concordia University           | "The cure for boredom is curiousity.
Montreal, QC, Canada           |  There is no cure for curiousity."
address@hidden   |
                               |    - Dorothy Parker



reply via email to

[Prev in Thread] Current Thread [Next in Thread]