Solved

Converting Outlook Email to HTML

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
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.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

785 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