User: Password:
Subscribe / Log in / New account

The real killer is HTML

The real killer is HTML

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

FYI, images need not be remote in HTML mail: you can add the images as attachment and refer to them from within the HTML. In fact Evolution has a configuration setting which allows you to either show all, some or no remote images in the mail you receive.

(Log in to post comments)

The real killer is HTML

Posted Jun 29, 2004 22:42 UTC (Tue) by Ross (guest, #4065) [Link]

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

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="" ALIGN="top" ALT="test" BORDER="0">

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

Content-ID: <>
Content-Disposition: attachment; filename=001_star_butterfly.png
Content-Type: image/png; name=001_star_butterfly.png
Content-Transfer-Encoding: base64


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 © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds