![]() |
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 -- |
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 -- |
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 -- |
All times are GMT +1. The time now is 02:25 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-2006 OutlookBanter.com