+ Reply to Thread
Results 1 to 1 of 1

Outlook - Monitor Mailbox and Alert if mail is there.

  1. #1
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Outlook - Monitor Mailbox and Alert if mail is there.

    This code monitors a series of mailboxes every 15 minutes and mails a message to the specified address if any of the mailboxes has a mail message in it.

    My thanks to the people at UtterAccess.com for helping me clean it up.

    The mail must be set up with a Main Mailbox and subordinate folders directly under the Inbox for the Main Mailbox.

    For example:
    Please Login or Register  to view this content.
    [email protected] is the main mailbox and Folder 1, Folder 2 and Folder 3 are the subordinate mailboxes.

    In my case I have a shared mailbox called Projects and I use filter rules to move incoming mail to the subordinate folders. This program keeps an eye on the subordinate folders and lets me know how many emails are in each of them and if none of them has mail then no message is sent.

    The code was developed from several different sources which explains why the Alert Part and the actual Mail Part are in two different subroutines and not integrated. There is some configuration required and these parts of the code are shown in red.

    Note: you may have to go to the Trust Center settings to "ease off" on the security. I have mine set to prompt me to accept the macro.

    Please Login or Register  to view this content.
    Add this code to THisOutlookSession
    Please Login or Register  to view this content.
    Last edited by dflak; 10-02-2018 at 02:27 PM.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mail Alert if an expected mail (at a specific time daily) doesn't arrives in the inbox
    By dineshsachidananda in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2017, 09:00 AM
  2. Alert in Mailbox
    By shiva_reshs in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 11-07-2015, 04:11 PM
  3. Outlook 2010 VBA Code to open a link from an unread mail in a Shared Mailbox
    By MHamid in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 10-31-2015, 03:46 PM
  4. [SOLVED] Show newl message envelop notification for all mailbox/shared mailbox added in outlook
    By Goku in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 07-04-2014, 01:23 PM
  5. getting sender of the mail which send from Generic Mailbox
    By thirugusto in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 08-17-2012, 10:45 AM
  6. Reference shared Outlook mailbox
    By arneld in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-07-2012, 08:29 PM
  7. Outlook Mailbox Recieved Total
    By pr4t3ek in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2008, 11:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1