View Single Post
  #2  
Old May 21st 08, 02:29 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default routine to check for Outlook email

What version of Outlook? Always post relevant details like that when you ask
a question.

If this is Outlook 2003 or 2007 you can use the application wide NewMailEx()
event, which provides an EntryID list of newly arrived items in your Inbox.
Use NameSpace.GetItemFromID(EntryID) to get a reference to each item and
check its subject.

Since you didn't mention what language you're using I can't show a code
sample.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ben" wrote in message
...
Hi all,

I am new to vb 2005 express and outlook. Everyday my group receives an
automated email from another group with a specific subject line. I am
trying
to write a small app in vb 2005 express to check the inbox for any new
incoming mail with that specific subject line, say every 30 seconds.

Can you share with me what I need to do and where I can find some KB
articles on that? Thanks for sharing your thoughts.

Ben


--


Ads