Solved

How to show embedded images in received email messages

Posted on 2006-07-06
3
199 Views
Last Modified: 2010-04-30
Dear everyone,

I have built a VB application to process incoming email. The VB application reads MS Outlook's Inbox and shows the contents of the messages in a Webbrowser control. However, due some internal workings of Outlook, when a message contains embedded images, the references to those images are replaced by cid:{83847649393903} (or something like that) and the embedded images themselves are shown as attachments.

My question: how can I show the actual images in the right place?

In other words: how can I find out which cid was assigned by Outlook to what image? (because a message can have several embedded images, so I don't know which attached image belongs to which cid).
0
Comment
Question by:keimpe
  • 2
3 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 500 total points
ID: 17063429
Hi keimpe,

This page has a good description of how the association is made: http://peach.ease.lsoft.com/scripts/wa.exe?A2=ind0503&L=emo-newsletter&P=59

And this page has an example of how to get the associations: http://www.outlookcode.com/codedetail.aspx?id=52


Cheers!
0
 
LVL 1

Author Comment

by:keimpe
ID: 17072171
Your second link put me on the right track that eventually led me to solve my problem, thanks!! Full points and grade B (because I still had to do all the hard work myself ;-)

Keimpe
0
 
LVL 76

Expert Comment

by:David Lee
ID: 17077188
No problem.  Glad I was able to help.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
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…

839 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