I am rather frustrated with Mail.app – in fact, I’m pretty close to running Entourage (not really) just to get this feature:
That is, the ability to search mail with different criteria – e.g. messages to/from a given person containing some term in the message body.
Mail’s spotlight search only lets you search on the Entire Message OR From OR To OR subject. Which is pretty annoying.
You CAN get multi-criteria searching by creating a “Smart Mailbox”
But that’s not all that convenient in an Ad-Hoc search.
One nice thing that I did learn from searching in the Mail Help for, well, “searching” was that Spotlight in Mail (and Spotlight elsewhere) supports Boolean searches. However – the help is wrong – it references using the literal terms “and”, “or”, “not” And that’s wrong.
Apparently, at least with my limited testing “and” is assumed:
jason verbose => would find all messages matching the criteria selected containing “jason” AND “verbose”
|jason||verbose => would find all messages matching “jason” OR “verbose”|
jason – verbose = > would find all messages matching “jason” but NOT “verbose” (obviously an empty set)
I assume complex queries can be built with paranthesis.
The only confirmation of this I’ve found is a comment and link from the Wikipedia Article on Spotlight
It’s apparently undocumented from Apple.