Solved

Converting Outlook Email to HTML

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

628 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