Hello boys... I'm writing an application to manage Exchange Server mailboxes via web (asp platform).
I'm in trouble reading images embedded into html messages: in detail, when I try to print the htmlbody with


I got a red 'X' if images are embedded. Everything ok if images are linked from the original server, obviously.

The full code is

set Conn= CreateObject("ADODB.Connection")
Conn.Provider = "ExOLEDB.DataSource"
set msgobj = createobject("CDO.Message")
set rec = createobject("ADODB.Record")

Conn.Open <path>,,,-1

const adModeReadWrite=3
Const adFailIfNotExists = -1
Const adOpenSource = &H00800000

rec.open <message_fullpath>, Conn, adModeReadWrite, adFailIfNotExists, adOpenSource
msgobj.datasource.openobject rec, "_Record"


The problem seems to be that embedded images are SIMILAR to attachments, but the msgobj.attachments collection returns 0 items.
Embedded images are linked with a strange "cid:<filename>" url.
How can I display that images into HTML body?

Help please!!


Andrea Gumirato
Bologna (Italy)