I tried everything even searched in MAPI, but nothing seems the sollution.
I discoverd one other thing... when i make a e-mail and programmaticly set
the HTMLBody with images with a full path to disk and i save this mail then
the images are not embedded. When i insert a image with outlook, and then
save the mailitem, all the images are embedded. So outlook has to set some
kind of flag so all the images are going to be embedded... but i can't find
out what flag this is!
> What does "This seems to be impossible" really mean? Do you get an error?
>
[quoted text clipped - 20 lines]
> >
> > Alexander
Dmitry Streblechenko - 14 Jul 2005 18:11 GMT
Yes, you will need to set an extra property on the attachments used as
embedded images. The image source in the HTML body must be set to a cid
(e.g. "<IMG src=cid:myident>"), the special attachment property must contain
the same cid (e.g. "myident").
See http://www.dimastr.com/redemption/objects.htm#examples and scroll down
to "Create an HTML message with an embedded image".
That property can be set usingg Extended MAPI/CDO 1.21/Redemption, Outlook
Object Model won't let you set it.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
>I tried everything even searched in MAPI, but nothing seems the sollution.
> I discoverd one other thing... when i make a e-mail and programmaticly set
[quoted text clipped - 33 lines]
>> >
>> > Alexander