Embedded Mail Attachment

  • Thread starter Thread starter Ron
  • Start date Start date
R

Ron

I am sending html mail messages using the MailMessage class.
In some cases the message body will have an <href> to an image stored on the
local server, and when the message is forwarded I need to embed the image,
and point the href to the Content-ID of the image.
How can I do this?

Thanks,
Ron
 
Ron said:
I am sending html mail messages using the MailMessage class.
In some cases the message body will have an <href> to an image stored
on the local server, and when the message is forwarded I need to
embed the image, and point the href to the Content-ID of the image.
How can I do this?

Thanks,
Ron

Frequently this will work:
- add the image as attachment
- use as href just the filename (no directory) of the attachment

but check this with various (web)mail clients!

Hans Kesting
 
Back
Top