View Single Post
  #2  
Old May 17th 08, 05:14 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 1,522
Default Problem getting EntryID for attached e-mail in Outlook journal ite

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.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Alex Ksendzov" Alex wrote in message
...
Using Redemption library I can iterate through the list of attachments for
every Journal Entry of 'e-mail message' type 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
"sent" items in the journal?

Thanks



Ads
 

Music Festival - Xbox Mod Chip - Mortgage Calculator - Loans - Credit Card Debt