![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello,
In VSTO, Outlook Mailitem Attachment object includes all other objects included in the mail item. For eg: In new mail item if we attach any files and add image in the body of the mail. than in Code all attachment files and images in the body are comes as attachment. How to differentiate the Attachment files and other objects added later? thanks muralidharan tr |
Ads |
#2
|
|||
|
|||
![]()
I'm not sure what you're getting at here. If you embed an image in an email
of course it's an attachment to that email. That it represents an embedded image doesn't make it any less of an attachment. You have to look at each attachment in the Attachments collection to see what they are, using the attachment properties such as Type, DisplayName, FileName, etc. For more detail you can use the MAPI properties on an attachment such as PR_ATTACH_CONTENT_ID, PR_ATTACH_FLAGS, PR_ATTACH_METHOD, PR_ATTACH_MIME_TAG. Some of those are always there and some are there for only certain types of attachments such as embedded ones. -- 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 "murali@Blr" wrote in message ... Hello, In VSTO, Outlook Mailitem Attachment object includes all other objects included in the mail item. For eg: In new mail item if we attach any files and add image in the body of the mail. than in Code all attachment files and images in the body are comes as attachment. How to differentiate the Attachment files and other objects added later? thanks muralidharan tr |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transform DocumentItem Objects as Outlook Item Objects in folder | Wnick | Outlook and VBA | 5 | February 22nd 08 07:59 PM |
user name always includes my email address | Kiwi Bill | Outlook - Installation | 4 | August 30th 07 12:22 AM |
How can I print a sent email that includes name of attachment? | RWheeler | Outlook and VBA | 1 | August 5th 06 08:19 AM |
how do I print a day of my calendar that includes the categories? | Roy | Outlook - Calandaring | 6 | May 14th 06 03:14 AM |
How can I create a MailItem that displays like a received MailItem ? | Clive | Outlook - Using Forms | 0 | February 27th 06 04:14 PM |