Outlook 2003/2007 and New Mail Desktop Alerts

B

banato

Hello,

Can I programmatically enable/disable display New Mail Desktop
Alerts ?

Thank you.
 
K

Ken Slovak - [MVP - Outlook]

There's nothing in the object model for it, and the registry setting is
cached after being read at startup, so changing that will only work before
Outlook is running. You'd have to intercept that window opening up at a
Win32 API level and cancel the window opening.
 
B

banato

Thank you, Ken.

Please could you tell what registry key is responsible for it? I could
change it when installation run.
 
K

Ken Slovak - [MVP - Outlook]

It's a DWORD at
HKCU\Software\Microsoft\Office\11.0\Outlook\Preferences\NewmailDesktopAlerts.
Set it to 0 to not show the alert, to 1 to show it.

That's for Outlook 2003. For Outlook 2007 the "11.0" would be "12.0", etc.




Thank you, Ken.

Please could you tell what registry key is responsible for it? I could
change it when installation run.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top