Embedded Image in Email

Question: We are trying to send out an image in our company email footer that is notrecognised as an attachment, but is 'embedded' to the extent that users do not need to be online to see the image. Any ideas?

Answer: Attachments use multipart/mixed to tell the email program that there is mixed content - text + attachments.Embedded images use multipart/related to relate the images to the HTML coded email that refers to them.

If the email is plain text instead of HTML then images can only be attached and not embedded.

You can include both plain text and HTML using multipart/alternative.

How you use these depends on how you are creating the email.


This article written by Stephen Chapman, Felgall Pty Ltd.

go to top

FaceBook Follow
Twitter Follow