routine to check for Outlook email

B

Ben

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


--
 
K

Ken Slovak - [MVP - Outlook]

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.
 
B

Ben

Ken,

I am using Outlook 2003. I am trying to use vb 2008 express to check the
inbox. Thanks for your help.

Ben
 

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