Converting Outlook Email to HTML

I want to be able to save an Outlook email as HTML, but am unable to identify how to match up the image references in the HTML to the image attachments. For example here is a typical entry:

<IMG alt="" hspace=0
src="cid:577201c6f846$637acff0$010d040a@wcu76548" align=baseline border=0>

If I look at the email attachments collection, I can physically see there is an image attachment that fits with this, but I can't work out how in code I can match up the cid reference with the correct attachment.
Who is Participating?
David LeeConnect With a Mentor Commented:
Greetings, purplesoup.

See this question:

purplesoupAuthor Commented:
Yep - that does it, basically:


cid_ident = "cid:" & safe_attachment.Fields(RR_ATTACH_CONTENT_ID)


David LeeCommented:
You're welcome.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.