Solved

Converting Outlook Email to HTML

Posted on 2006-10-25
3
122 Views
Last Modified: 2010-04-30
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.
0
Comment
Question by:purplesoup
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 17810516
Greetings, purplesoup.

See this question: http://www.experts-exchange.com/Applications/MS_Office/Outlook/Q_21531908.html

Cheers!
0
 

Author Comment

by:purplesoup
ID: 17810935
Yep - that does it, basically:

Const RR_ATTACH_CONTENT_ID = &H3712001E

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

Thanks

0
 
LVL 76

Expert Comment

by:David Lee
ID: 17811243
You're welcome.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question