I am using Apples's Mail application for a while. I know that to search for mails from a particular user, I need to use

from: abc@gmail.com

But I need to search for emails that are not from a particular user or has a particular subject. Basically a negative/negated search.

I tried below search queries using boolean operation, but these didn't work.

 NOT from: abc@gmail.com

 NOT subject: Hello World

Any help on this will be appreciated.

  • I think what you are asking is not reachable. – Mattia Feb 3 '16 at 5:02
  • You could make a rule like that, but not a search, afaik. – Tetsujin Feb 3 '16 at 7:34
  • @Tetsujin dont we have an advanced search option ? – Kannan Mohan Feb 3 '16 at 9:15
  • Not as far as I'm aware - though I've never needed one. I heavily sort my mail on the way in, using about 20 different rules, so I'm unlikely to not know where to start looking later. I'd really be tempted to rule-move abc@gmail.com to another folder, then your search can be honed within your regular Inbox. – Tetsujin Feb 3 '16 at 9:25

Mail can perform Boolean searches, but only in message contents, not in headers (such as Subject, From, or Date).

When using Boolean operators, always use uppercase — AND, OR, and NOT — so Mail doesn’t search for the actual words and, or, and not. You can use a minus sign (-) as a shortcut for AND NOT, so, if you type Jack -Jill in the Search field, you’ll see a list of all the messages that contain “Jack” but not “Jill.”

UPD. I've tried with my own mails and it looks like Mail DOES sort headers too. So try to enter into search field: abc NOT whatever-you-want-to-exclude. Shall work.

More info here: https://support.apple.com/kb/PH22310?locale=en_US&viewlocale=en_US

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .