"Embedded image" is a
part of a
multipart e-mail with separate content-type and
disposition. Technically, such part is created using the class
System.Net.Mail.Attachment
:
Attachment Class (System.Net.Mail)[
^].
On
content types (
AttachmentBase.ContentType Property (System.Net.Mail)[
^]), see also my past answer:
How to attach a file in smtp mail implementation[
^].
Normally, you place your image part in the form of base64-encoded string. Please see:
The attachment will be presented in a mail viewer as embedded in your message, if you chose content disposition properly. I explain it in my past answer:
Dynamically generate pdf file and Send an Email as a attachment.[
^].
In the answer referenced above, you will find all links you need to embed your images.
If you also need to create a hyperlink to the image inside a mail message, you would need to use the special
URI scheme "cid" (Content-id). Please see my past answer:
Sending HTML attachment with images[
^].
—SA