![]() |
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,
I've written a COM-AddIn for Outlook using VC+ and OOM. One of the functionality is to store emails as msg-file to disk without any attachments. snip: ... Outlook::AttachmentsPtr pAttachments = m_pMailItem-Attachments; lCount = pAttachments-Count; for(lCount; lCount 0; lCount--) { Outlook::AttachmentPtr pAttachment = pAttachments-Item(lCount); if(CONDITION) { pAttachments-Remove(lCount); } } } ... m_pMailItem-SaveAs(strFilename, Outlook: ![]() ... /snip: In Oulook 2002 and 2003 this code works fine and I'm getting my expected msg-file without the deleted attachments before. But in Outlook2000 the stored msg-file contains all attachments anymore. Any idea? Best regards Darius |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Deleting Duplicate Mailitems | Geoff | Outlook and VBA | 7 | October 19th 06 04:21 PM |
Outlook express deleting attachments!! | Mando | Outlook Express | 3 | September 2nd 06 08:38 AM |
duplication of files? re deleting 'sent' attachments | [email protected] | Outlook Express | 4 | June 10th 06 06:09 PM |
Deleting Attachments | Dorian C. Chalom | Outlook - General Queries | 3 | May 13th 06 08:59 PM |
Deleting Attachments in Meeting Requests | [email protected] | Outlook - General Queries | 0 | March 30th 06 06:30 PM |