Outlook 2003/2007 and New Mail Desktop Alerts

  • Thread starter Thread starter banato
  • Start date Start date
B

banato

Hello,

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

Thank you.
 
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.
 
Thank you, Ken.

Please could you tell what registry key is responsible for it? I could
change it when installation run.
 
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.
 
Back
Top