PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins How to differ between received and sent email programmatically

Reply

How to differ between received and sent email programmatically

 
Thread Tools Rate Thread
Old 06-04-2006, 04:59 PM   #1
Darius
Guest
 
Posts: n/a
Default How to differ between received and sent email programmatically


Hi,

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

Thx
Darius
  Reply With Quote
Old 06-04-2006, 06:01 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: How to differ between received and sent email programmatically

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

"Darius" <dbi@contact.de> wrote in message
news:usfcJMZWGHA.1204@TK2MSFTNGP04.phx.gbl...
> Hi,
>
> how is it possible to differ between received- and sent-mailitems
> programmatically using Outlook Object Model?
>
> Thx
> Darius



  Reply With Quote
Old 06-04-2006, 06:06 PM   #3
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: How to differ between received and sent email programmatically

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message news:%23Ars4tZWGHA.1084@TK2MSFTNGP04.phx.gbl...
> 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
>
> "Darius" <dbi@contact.de> wrote in message
> news:usfcJMZWGHA.1204@TK2MSFTNGP04.phx.gbl...
>> Hi,
>>
>> how is it possible to differ between received- and sent-mailitems
>> programmatically using Outlook Object Model?
>>
>> Thx
>> Darius

>
>

  Reply With Quote
Old 06-04-2006, 08:06 PM   #4
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: How to differ between received and sent email programmatically

Every seemingly useless property comes handy sooner or later :-)

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

"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:udl80xZWGHA.196@TK2MSFTNGP04.phx.gbl...
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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
news:%23Ars4tZWGHA.1084@TK2MSFTNGP04.phx.gbl...
> 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
>
> "Darius" <dbi@contact.de> wrote in message
> news:usfcJMZWGHA.1204@TK2MSFTNGP04.phx.gbl...
>> Hi,
>>
>> how is it possible to differ between received- and sent-mailitems
>> programmatically using Outlook Object Model?
>>
>> Thx
>> Darius

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off