Solved

Converting Outlook Email to HTML

Posted on 2006-10-25
3
118 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
  • 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now