Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Embed images in Outlook (http://www.outlookbanter.com/outlook-vba/73337-embed-images-outlook.html)

amg51 June 10th 08 03:56 PM

Embed images in Outlook
 
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)

Jon Lewis June 10th 08 04:36 PM

Embed images in Outlook
 
Have a look at this link:
http://www.outlookcode.com/d/code/htmlimg.htm

HTH


"amg51" wrote in message
...
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)




amg51 June 10th 08 05:20 PM

Embed images in Outlook
 
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


Seems an awful pity that the Outlook Object model does not expose this process


"Jon Lewis @btinternet.com" wrote:

Have a look at this link:
http://www.outlookcode.com/d/code/htmlimg.htm

HTH


"amg51" wrote in message
...
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)





amg51 June 10th 08 05:36 PM

Embed images in Outlook
 
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

"Jon Lewis @btinternet.com" wrote:

Have a look at this link:
http://www.outlookcode.com/d/code/htmlimg.htm

HTH


"amg51" wrote in message
...
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)





Sue Mosher [MVP-Outlook] June 10th 08 05:55 PM

Embed images in Outlook
 
If you already have a Word document, you can use the "Office envelope" technique demonstrated he http://www.outlookcode.com/codedetail.aspx?id=1333

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"amg51" wrote in message ...
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

"Jon Lewis @btinternet.com" wrote:

Have a look at this link:
http://www.outlookcode.com/d/code/htmlimg.htm

HTH


"amg51" wrote in message
...
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)






All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com