Solved

Converting Outlook Email to HTML

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

752 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