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

routine to check for Outlook email



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 21st 08, 03:30 AM posted to microsoft.public.outlook.program_vba
Ben
external usenet poster
 
Posts: 57
Default routine to check for Outlook email

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


--


  #3  
Old May 21st 08, 02:46 PM posted to microsoft.public.outlook.program_vba
Ben
external usenet poster
 
Posts: 57
Default routine to check for Outlook email

Ken,

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

Ben

--



"Ken Slovak - [MVP - Outlook]" wrote:

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


--



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
How to: Create a routine which forwards email Ron Outlook and VBA 17 January 10th 07 09:05 PM
Routine for setting de permissions for all underlaying folders Guus Outlook and VBA 3 October 4th 06 02:38 AM
terminate the routine if outlook is not available fitful_thought Outlook and VBA 2 April 27th 06 09:27 PM
terminate the routine if outlook is not available fitful_thought Outlook - General Queries 1 April 26th 06 02:01 PM
Outlook calendar should allow colouring days to follow a routine MartinD Outlook - Calandaring 1 April 14th 06 06:24 AM


All times are GMT +1. The time now is 11:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.