Problem getting EntryID for attached e-mail in Outlook journal ite

Problem getting EntryID for attached e-mail in Outlook journal ite

Post by QWxleCBLc2 » Sat, 17 May 2008 10:47:03


Using Redemption library I can iterate through the list of attachments for
every Journal Entry of -mail messagetype and get EntryId of the message
through the EmbeddedMsg property .
It works fine for (received) journal entries, but for (send) this property
is empty, also I am getting exception for some attachment items trying to get
mentioned above property (Run-time exception thrown :
System.Runtime.InteropServices.COMException - Error in
IMAPISession.OpenEntry: MAPI_E_NOT_FOUND). And attachment (e-mail message) is
not deleted I can get it double clicking on journal entry in Outlook.

The question is - Is there is a way to get EntryID of attached e-mails for
entitems in the journal?

Thanks
 
 
 

Problem getting EntryID for attached e-mail in Outlook journal ite

Post by Dmitry Str » Mon, 19 May 2008 01:14:31

I am suprised it works at all - message attachments do not have entry ids
since theey only exist in the context of the parent messages.
--
Dmitry Streblechenko (MVP)
http://www.yqcomputer.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-