A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , ,

Sent or Recieved Email Property





 
 
Thread Tools Display Modes
  #1  
Old February 2nd 07, 09:07 PM posted to microsoft.public.outlook.program_vba
Irene
external usenet poster
 
Posts: 10
Default Sent or Recieved Email Property

Is there a way to check if the email is a sent email or received email using
VBA? Some kind of property?

My current solution is to check if the From Field is equal to the current
user it is a sent email.

Thanks,

Irene

Ads
  #2  
Old February 2nd 07, 09:31 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 1,592
Default Sent or Recieved Email Property

Check if any of the ReceivedByXXX or ReceivedOnBehalfOfXXX properties are
not empty.

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

"Irene" wrote in message
...
Is there a way to check if the email is a sent email or received email
using
VBA? Some kind of property?

My current solution is to check if the From Field is equal to the current
user it is a sent email.

Thanks,

Irene



 




Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
launch a program when an email is recieved frank Outlook - General Queries 4 November 13th 06 08:40 AM
OE sending out emails I have recieved mikeV Outlook Express 14 November 4th 06 04:00 PM
Multiple copies recieved. Chuck Davis Outlook - General Queries 3 March 23rd 06 02:42 PM
How can I automatically save all the contacts from recieved email? Sandman Outlook - Using Contacts 0 March 16th 06 07:15 AM
Can I check email recieved? Scudo Outlook Express 4 February 12th 06 12:36 PM


All times are GMT +1. The time now is 05:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Remortgages - Internet Advertising - Loans - Cheap Loan - Debt Management