routine to check for Outlook email

  • Thread starter Thread starter Ben
  • Start date Start date
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


--
 
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,

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

Ben
 
Back
Top