Solved

How to show embedded images in received email messages

Posted on 2006-07-06
3
201 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
[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: 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

724 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