export mail contain image

  • Thread starter export mail which contains image from of
  • Start date
E

export mail which contains image from of

hello all
I am trying to write a code in C++ for intend to export the mail to xml
and then import from xml. now i has gotten a worst matter that if the mail
contain image the fragment of generate xml is like
<img width=117 height=88 id="Picture_x0020_11"
src="cid:[email protected]" alt=image003.jpg>
why the attribute of src is so that.I export the email via outlook menu
"save as html" that fragment like src="c:\mypicture\image003.jpg"
thus when i import the mail from xml file the image can not display!
can you help me!
thanks and regards
 
S

Sue Mosher [MVP-Outlook]

A CID like that is pointing to an image attached to the message. Therefore,
you would also have to save the attachment to the file system, using the
Attachment.SaveAsFile method, and adjust the src attribute so that it points
to the saved file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top