• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 618
  • Last Modified:

OutLook Notification

Without Opening OutLook, i want to catch if a new mail comes into my account(programmatically) using MAPI ?

Any help on this, if any sample links ?

Thank you.
  • 3
  • 2
1 Solution
This is copied from another question.

Here's the full text:
The information in this article applies to:
Microsoft Outlook 2002
Microsoft Outlook 2000

This article was previously published under Q256271
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

You may want to run Outlook in a minimized state so that the program icon appears next to the clock on the taskbar. You may want to do this so that you can receive notifications of new mail and reminders without having an Outlook button available on the taskbar.
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Outlook is not designed to run in a minimized state with the program icon on the taskbar. However, you can minimize Outlook so that a button appears on the taskbar. You can then click the button to maximize the program window.

To configure Outlook to run in a minimized state:
Quit Outlook if it is running.
Click Start, and then click Run.
In the Open box, type regedit, and then click OK.
Locate and then select the appropriate registry key for your version of Outlook.
Outlook 2002


Outlook 2000


Click the Edit menu, click New, and then click DWORD value.
Type the following name for the new value:


Press the ENTER key.
Right-click the MinToTray registry key, and then click Modify.
In the Value data box, type 1.
Click OK.
Quit Registry Editor.
Here is a link with third-party apps to handle it - http://www.webdevelopersnotes.com/services/checkpop3.php3
chepuri_ukAuthor Commented:
can't we use MAPI object Model for getting notification of new mail ?

I don't believe it is worth "reinventing the wheel" when there is already a way to accomplish this using third-party tools.  I have never tried it myself.
chepuri_ukAuthor Commented:

Suppose if i want to build a small plugin,this will detect a new mail if  it comes and sends a reply automatically.
I think for this MAPI is useful.
Any suggections...

Thank you.

Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now