Setting rule for color of message programatically

  • Thread starter Thread starter Jarle Johnstad
  • Start date Start date
J

Jarle Johnstad

In Outlook it is possible to set a rule that e-mail from a specific sender
should be displayed in a differnet color (by choosing Tools -> Organize ->
Using Colors).

When an Exchange mail-server is being used, I've understood that this
setting resides on the server. Correct?

What I'd like is to programatically make all mail from f.ex.
"(e-mail address removed)" to show in red in all the company users' inboxes.

Can I do this using VBA in Outlook or do I have to make a program that runs
on the Exchange server and that makes the necessary settings there?
 
No. The color of a message in the folder list is controlled by automatic
formatting rules for the current view, and automatic formatting rules cannot
be set programmatically. Everyone, however, has an overdue messages
formatting rule that turns messages red if their flag date is earlier than
now, so setting a flag would be one approach you could consider.
 
Jarle said:
In Outlook it is possible to set a rule that e-mail from a specific
sender should be displayed in a differnet color (by choosing Tools ->
Organize -> Using Colors).

When an Exchange mail-server is being used, I've understood that this
setting resides on the server. Correct?

What I'd like is to programatically make all mail from f.ex.
"(e-mail address removed)" to show in red in all the company users' inboxes.

Can I do this using VBA in Outlook or do I have to make a program
that runs on the Exchange server and that makes the necessary
settings there?

It's possible in Outlook 2000:

Go into your Inbox.
Click on View > Current View > Customise Current View
Click Automatic Formatting
Click Add, Give the Rule a name and click Font...
Select a font/color that will make the message stand out. Click OK.
Click Condition...
Enter whatever criteria you want.
OK all the dialog boxes.
 
Dave said:
It's possible in Outlook 2000:

Go into your Inbox.
Click on View > Current View > Customise Current View
Click Automatic Formatting
Click Add, Give the Rule a name and click Font...
Select a font/color that will make the message stand out. Click OK.
Click Condition...
Enter whatever criteria you want.
OK all the dialog boxes.

Sorry I didn't read the question properly.
Don't know how it's done using VBA.
 
Back
Top