I wrote a simple test macro, which process an incoming mail and search in emailtext for regular expression pattern. I want then format the e-mail preview(in Outlook Explorer)in case of match. But I canot find which is the property to format(to color) the email preview of the current MailItem in outlook explorer. Unfortunately there is also no macro recorder for outlook.
0
votes
Preview in the mail item in list or in preview pane? As far as I know, there is nothing like coloring preview with single property. Could you refer to some default Outlook behavior doing this?
– miroxlav
I would say 'Preview in the mail item'. Ona could achieve coloring the preview with outlook conditional formatting, but conditional formating does not support regex.
– user615993
2 Answers
1
votes
It is not possible to color individual items.
But there is a workaround:
You need to be able to finish with setting a field value upon which you are able to build a standard formatting using the Conditional Formatting editor. For example,
- See this sample which sets Replied field according to desired rules.
- Then a conditional formatting picks up its particular value and gives it a color.