Programmatically toggling the Outlook SysTray icon

R

R Avery

I have a program that sorts email based on the NewMail event. I auto
move it to a particular folder, and do .UnRead = False
However, the Outlook SysTray icon that notifies me that new mail has
arrived is still displayed. How can I programmatically turn this off if
one of my VBA rules sorts the email?
 
Top