Outlook View Settings > Conditional Formatting > Field > Filter

Michael S. Neuren 20 Reputation points
2026-06-17T19:15:37.5133333+00:00

How can I set up a Filter in Outlook View Settings > Conditional Formatting > Field > Filter to color all messages from a domain like gmail.com or hotmail.com red? The fields, From, Email Account, and Email Address Type do not work. Is there another field that will?

Outlook | Windows | Classic Outlook for Windows | For home
0 comments No comments

Answer accepted by question author
Alice-N 13,385 Reputation points Microsoft External Staff Moderator
2026-06-19T04:30:09.7366667+00:00

Hi

I understand that you want to color all messages from a sender domain, such as gmail.com or hotmail.com, in red by using Classic Outlook for Windows through View Settings > Conditional Formatting > Field > Filter. I’m happy to help.

Could you please confirm the following:

  • Is the account added as Outlook.com/Exchange, POP, or IMAP?
  • Are you trying to color messages by the sender’s actual email domain, or only by the display name shown in the From column?
  • Do you want this to apply only to the Inbox, or to all mail folders?

If From, Email Account, and Email Address Type do not work for the domain in your current view/filter setup, there is no current alternate Conditional Formatting field that filters only by sender domain in Classic Outlook. The practical options are:

  • specific sender formatting,
  • keyword-based formatting where the domain is visible in searchable text, or a rule or color-category workaround, depending on the account type.

See: Conditional Formatting in classic Outlook for Windows | Microsoft Support

  • If you only need a few specific senders, create separate Conditional Formatting rules for each sender address. 
    • Go to View > View Settings.
    • Select Conditional Formatting.
    • Select Add.
    • Select Font, then choose Red.
    • Select Condition.
    • In the From box, enter the sender’s name or full email address.
  • If the domain appears in the subject or message body, use a keyword-based Conditional Formatting rule.
    • Go to View > View Settings > Conditional Formatting.
    • Add a new rule and choose your font color.
    • Select Condition.
    • Use Search for the word(s) and enter the domain text, such as gmail.com.

Reference: Use Conditional formatting rules to change incoming messages in Outlook | Microsoft Support

  • If your goal is visual grouping rather than true Conditional Formatting, use Color Categories instead. 
  • If you need automatic handling by domain, consider using a rule instead of Conditional Formatting.

For Classic Outlook, please create a rule using specific words in the sender’s address for a domain such as gmail.com.

Please tell me how it goes. If the problem persists, please don’t hesitate to reply to this thread and I will be happy to help. Have a lovely day!  

If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Newest
  1. AI answer

    2026-06-17T19:15:47.44+00:00

    Conditional Formatting in classic Outlook for Windows can only use the fields and criteria exposed in the Filter dialog. The provided documentation shows how to:

    • Open View > View Settings > Conditional Formatting.
    • Add a rule, choose Font, then select Condition to define criteria.
    • Use fields like From or text search in Search for the word(s) for sender names or subject/body text.

    However, the context does not document any field or built‑in condition that supports pattern matching on the sender’s email domain (for example, “@gmail.com” or “@hotmail.com”) within Conditional Formatting rules. The examples only cover:

    • Matching a specific sender name (for example, “John Kane”).
    • Matching specific words in the subject or message body (for example, “Contoso” or “holiday”).

    Based on the available information, there is no documented field in Conditional Formatting’s Filter dialog that will reliably color messages by arbitrary sender domain such as all gmail.com or hotmail.com addresses.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.