View Single Post
  #9  
Old March 10th 09, 02:22 PM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default embeded image change

What is wrong is the Count == 0 return. Any embedded image is an
attachment,

when i open mail which contains embeded attachments i check
Mail-Attachments-Count value and it returns 0.
I check this in Item_Open() event.
So in this case attachment for embeded image is not attached to message.
Either it's in body or i dont have more idea where it is.

Is the item you are opening saved before you check for attachments count?
I send a new mail with embeded image. After mail is received i open the
mail. Before opening this mail i dont save it.

I dont touch body format for this mail.
Is there any example for embeded image available?

"Ken Slovak - [MVP - Outlook]" wrote in message
...
What is wrong is the Count == 0 return. Any embedded image is an
attachment, how else would it be included in the message? An embedded
attachment will have certain properties set on it that are different than
an "attached" attachment, but it's still attached to the message.

Is the item you are opening saved before you check for attachments count?
That's important. Also important is the Outlook version and body format.
For example in some cases an embedded attachment such as ClipArt will
actually show up as 2 attachments, one is the content and the other is a
WMV wrapper.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" wrote in message
...
When open mail then first i check all attachments in this mail.
Mail-Attachments-Count = 0. Embeded image is in body of mail
Then i add an attachment. After adding attachment i cant see embeded
image in mail body. But when i close this mail Mail-Attachments-Count
shows value 2. It means when i add an attachment embeded image is
converted into attachment(by val). But it doesn't show that attachment.
What's wrong here why embeded image change into attachment. Is there any
solution for this case.




Ads