How to differ between received and sent email programmatically

  • Thread starter Thread starter Darius
  • Start date Start date
D

Darius

Hi,

how is it possible to differ between received- and sent-mailitems
programmatically using Outlook Object Model?

Thx
Darius
 
Check any of the MailItem.ReceivedByXXX properties - they will be empty for
the sent items.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Cool! I never think about those properties. Now I know what they're good for!

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Every seemingly useless property comes handy sooner or later :-)

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

Cool! I never think about those properties. Now I know what they're good
for!

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top