3

I am constantly getting emails from @xyz.dfg.cloud, @fou.vm.blah, and so on.

I was thinking of whitelisting domains like hotmail, outlook, gmail and block everything else.

I would like to apply a filter that would mimic the ! (not) operator so I could specify [email protected], [email protected], !outlook.com, and so on.

How can I filter Gmail messages in this way?

0

1 Answer 1

0

The not operator in Gmail searches and filters is the negation symbol -

So your search would be:

-from:({hotmail.com gmail.com outlook.com})

In Gmail search, the parentheses () group terms and the braces {} imply an OR between terms.

The @ is ignored by Gmail search so can omit it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.