Mailitems properties.

  • Thread starter Thread starter Paul Mulloni
  • Start date Start date
P

Paul Mulloni

Hello all,

Can someone tell me how to determine if a mail item is incoming or outgoing
from the properties within that particular mail item???

Thanks,

Paul
 
Incoming messages have PR_RECEIVED_BY_xxx and PR_RCVD_REPRESENTING_xxx
Extended MAPI properties set. They can be accessed using either Extended
MAPI, CDO 1.21 or Redemption, but not Outlook Object Model.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Thanks for that info.

I have also found a property in the mailitem object model called
"ReceivedByEntryID". It seems blank for "sent items" - well all the items I
have check. I'm just checking to see if this is something you have come
across and would recommend as well.

Thanks again,

Paul.
 
Oh yes, I completely forgot about those properties, I guess I am spending
way too much time with Extended MAPI :-)

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top