Search by AND not just OR

Back in 2022 based on this discission https://forum.emclient.com/t/and-and-or-in-search-functions/82971 emClient does searches by OR, so returning messages with any of the search terms.

Is there a way to do searches by AND so all search terms must exist? OR returns too many irrevelant hits.

Is there a way to do searches by AND so all search terms must exist? OR returns too many irrevelant hits.

The keyword AND in search is supported. See the following extract from the below eM Client page. https://www.emclient.com/search-keywords

Quote from the above page:

You can refine the search by using the AND, OR and NOT arguments.

  • The AND argument will be applied if you use multiple keywords and searched terms in sequence, divided by a space. For example, from:john attachment:yes will search for messages from a sender with John as part of their name or email address while also having an attachment

  • The OR argument can be used within a single keyword by inserting a comma between the searched terms. For example, subject:update,report will find any messages with the subject containing either update or report.To use the OR argument between keywords, place the keywords into curly brackets { } and divide them by a space. The search for {to:deborah subject:report} will return messages either with deborah in their To: field or with subject field containing the word report.

  • You can use the NOT argument to exclude specific search results or negate both searched term or keyword by placing the minus/dash symbol - before them. Both from:-john and -from:john will exclude messages with john as the sender from the search result and it can be combined with other keywords.

1 Like

Thanks Cyberzork for the info. Nice to learn about the extra search features too such as “attachment:yes” and use of comma for OR and search with NOT to exclude.