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."
Steven.Winikoff@concordia.ca |
| - Dorothy Parker
--
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers