export mail contain image

  • Thread starter Thread starter export mail which contains image from of
  • Start date 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
 
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.
 
Back
Top