Embed images in Outlook

  • Thread starter Thread starter amg51
  • Start date Start date
A

amg51

How do I embed images in Outlook ( from Access VBA using the Outlook Object
model)


When you use Outlook itself to create an Email and insert pictures into the
body they do not appear as attachments (or are they hidden attachments)
 
I did have a look at this - the simple method shown at the bottom does not work
Have not tried the complex method.

Also would need quite a bit of fiddling for multiple images as indicated

If you create an Email in Outlook and insert a picture into the text and
then save the document as TML you see something like
src=cid:[email protected]

Seems an awful pity that the Outlook Object model does not expose this process
 
The method is also not very useful if you create a HTML document with Word or
Publisher which contains a number of images. You would then want to read
through the HTML body and replace any src=c:\filename.jpg while you were
creating html body say with src=cid:xxxxxx but with this method you have to
have created the message before you can get the cid's
 
Back
Top