[oak perl] MIME::Lite question

Elijah Griffin oaklandpm at eli.users.panix.com
Fri Jun 3 14:41:23 PDT 2005


Adrien Lamothe <alamozzz at yahoo.com> asks:
> Eli hints that there may be a way to cause the image
> to be embedded into the html, his code example uses
> <img src="cid:our-image-content-id"/>. Is this true,
> Eli? The one time I helped send a mass advertising
> email (to interested customers,) I used an external
> URL reference to the images.

That is a common way to do it, and it might be because it works
in more mail readers. I really don't know, I don't write MIME
generators and don't worry about what is actually out there. I
do know that is how it is *supposed* to work.  The RFC
documenting this feature includes a very similar example:

http://www.faqs.org/rfcs/rfc2392.html

But mine is a complete image in two lines of base64, while that
one is a mere fragment.

Elijah


More information about the Oakland mailing list