We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

Search for messages by domain in Lion

In versions of OS X before Lion, you could quickly search for messages from a given domain (macworld.com, for example) just by typing it in the search field. But such searches are more difficult in Lion's version of Mail. That's because, when you type the domain name, the program will show you all of the messages that have been sent to or received from that domain, as well as any messages that contain that domain as a string of text in the body; it will also show you a drop-down suggestion-list of specific senders from that domain.

Reader pfernandes points out that there is a way to refine Mail searches to find all senders or recipients from a given domain: If you type from:@domain, you will see a list of all the messages you've received from any email addresses in that domain. You can also use to:@domain to look for the messages that you've sent to any addressees in it.

Note that you will see these search results in Mail's message-list pane after you type the search-term but before you hit Return. If you then hit Return, Mail will convert your search term into a token and treat it literally; in other words, it will look for senders (or recipients) whose addresses consist solely of the domain name and therefore return no results.

IDG UK Sites

Microsoft Band UK release date and price rumours, features and specs: Microsoft smartwatch unveiled

IDG UK Sites

Why Sony's PS4 2.0 update is every gamer's dream (well, mine at least)

IDG UK Sites

This Grolsch ad combines stop-motion & CG for majestic results

IDG UK Sites

Apple rumours and predictions for 2015: What to expect from Apple in 2015