How to differ between received and sent email programmatically

D

Darius

Hi,

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

Thx
Darius
 
D

Dmitry Streblechenko

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
 
S

Sue Mosher [MVP-Outlook]

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
 
D

Dmitry Streblechenko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top