User: Password:
|
|
Subscribe / Log in / New account

The real killer is HTML

The real killer is HTML

Posted Jun 29, 2004 22:42 UTC (Tue) by Ross (guest, #4065)
In reply to: The real killer is HTML by bastiaan
Parent article: The Grumpy Editor's guide to graphical mail clients

That's interesting. What does an image tag which refers to an attachment
look like?


(Log in to post comments)

The real killer is HTML

Posted Jun 29, 2004 22:52 UTC (Tue) by bastiaan (guest, #5170) [Link]

You insert an IMG tag like this:
<IMG SRC="cid:1088549203.3067.4.camel@email.example.com" ALIGN="top" ALT="test" BORDER="0">

And add an attachment to your message with the corresponding content-id:

Content-ID: <1088549203.3067.4.camel@email.example.com>
Content-Disposition: attachment; filename=001_star_butterfly.png
Content-Type: image/png; name=001_star_butterfly.png
Content-Transfer-Encoding: base64

iVBORw0.....

The real killer is HTML

Posted Jul 9, 2004 4:30 UTC (Fri) by xoddam (subscriber, #2322) [Link]

And there's another way: Attachments with a 'Content-Location:' header (which can specify any kind of URI) get priority over the remote resource which would otherwise be fetched from the specified location.

But OTOH it would be easy to omit to implement this part of the MHTML spec and allow your mail client to fetch http: or ftp: URLs despite their being provided as attachments.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds