![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Greetings --
I'm doing some work on automated processing of incoming email. Am able to detect and process email coming into my personal inbox by hooking the Application_NewMailEx event. However when email arrives in a shared mailbox, this event doesn't fire. What's the best way to detect new mail in a shared mailbox? I'm trying to stay away from rules, because of the way that VbaProject_OTM disappears sometimes if you use rules. Thanks, Mark |
Ads |
#2
|
|||
|
|||
![]()
Subscribe to the MAPIFolder.Items.ItemAdd event on the mailbox's Inbox folder, which you can return with the Namespace.GetSharedDefaultFolder method.
-- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Mark VII" wrote in message ... Greetings -- I'm doing some work on automated processing of incoming email. Am able to detect and process email coming into my personal inbox by hooking the Application_NewMailEx event. However when email arrives in a shared mailbox, this event doesn't fire. What's the best way to detect new mail in a shared mailbox? I'm trying to stay away from rules, because of the way that VbaProject_OTM disappears sometimes if you use rules. Thanks, Mark |
#3
|
|||
|
|||
![]()
Thanks -- I'll give that a try.
Mark "Sue Mosher [MVP-Outlook]" wrote: Subscribe to the MAPIFolder.Items.ItemAdd event on the mailbox's Inbox folder, which you can return with the Namespace.GetSharedDefaultFolder method. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shared functional mailbox | Wullie | Outlook - Using Contacts | 0 | December 10th 07 02:23 PM |
Cannot see all folders of shared Mailbox | [email protected] | Outlook - General Queries | 2 | October 18th 07 05:30 PM |
Mail not visible in shared mailbox | Betelgeuse | Outlook - General Queries | 3 | October 26th 06 09:37 PM |
Module on Shared Mailbox | DrewP | Outlook and VBA | 3 | October 26th 06 04:21 PM |
Detecting signed/encrypted mail messages | [email protected] | Add-ins for Outlook | 1 | January 29th 06 09:30 PM |