![]() |
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
|
|||
|
|||
![]()
Hi All,
I have a code that downloads and save attachments from outlook mails....It also send reply asking to attach files if attachment is missing in a mail. The Problem is that, .jpg, .gif, files present in the mailbody(signature images) is also considered as attachments. But i only want to check attachments attached to the mail.... Can someone help me in solving this.... THANKS IN ADVANCE FOR ANY HELP... Jithu |
Ads |
#2
|
|||
|
|||
![]()
Check each attachment for its Type. If it's anything other than
OlAttachmentType.olByValue then it's an attachment that's embedded in the email and not a "true" attachment. Be aware that the Type will only be valid for messages that are saved or received. Also, in some cases you would have to also look at some MAPI properties on the attachment to really trap every possibility. The additional properties to check are only present on embedded attachments: PR_ATTACH_CONTENT_ID: "urn:schemas:mailheader:content-id" PR_ATTACH_CONTENT_LOCATION: "urn:schemas:mailheader:content-location" You may also want to look at PR_ATTACH_MIME_TAG ("http://schemas.microsoft.com/mapi/proptag/0x370E001E") All of those properties can be accessed if present in Outlook 2007 using the PropertyAccessor object of the Attachment. -- 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 "Jithu" wrote in message ... Hi All, I have a code that downloads and save attachments from outlook mails....It also send reply asking to attach files if attachment is missing in a mail. The Problem is that, .jpg, .gif, files present in the mailbody(signature images) is also considered as attachments. But i only want to check attachments attached to the mail.... Can someone help me in solving this.... THANKS IN ADVANCE FOR ANY HELP... Jithu |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Downloads from Hotmail to OE6 | George | Outlook Express | 6 | September 7th 07 05:45 PM |
Multipart downloads | Opusita | Outlook Express | 9 | March 17th 07 08:50 PM |
OE6 locks during downloads | George R. Thompson | Outlook Express | 7 | December 24th 06 12:29 PM |
Update Downloads | Alasdair Mac | Outlook - Installation | 0 | April 19th 06 11:06 PM |
downloads e-mails more than once | ssaslow | Outlook - Installation | 0 | March 14th 06 01:24 PM |