Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I programmatically show or hide the Outlook envelope icon?

For example, how do I show or hide the Outlook envelope icon from an Outlook Rule?

The envelope icon option is set by going to:

  • Tools -> Options...
  • E-mail Options
  • Advanced E-mail Options
  • Show an envelope icon in the notification area

The reason why I say programmatically is because none of the standard Rule actions apply. (The "Clear the message flag" action doesn't seem to work. Also, there's no "Set the message flag" action.)

This means that the solution will probably be in the form of a VBA script, Add-in or custom action. As a last resort, I'll write my own task bar notification.

In the documentation, I found IMsoEnvelope, but that is only for sending email from other Office applications.

like image 582
rayndev Avatar asked Sep 26 '08 03:09

rayndev


1 Answers

The action is "Clear the message flag"

like image 136
Tim Williscroft Avatar answered Nov 04 '22 07:11

Tim Williscroft