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

Best camera phone of 2015: iPhone 6 Plus vs LG G4 vs Galaxy S6 vs One M9 vs Nexus 6

IDG UK Sites

In defence of BlackBerrys

IDG UK Sites

Why we should reserve judgement on Apple ditching Helvetica in OS X/iOS for the Apple Watch's San...

IDG UK Sites

Retina 3.3GHz iMac 27in preview: Apple cuts £400 of price of Retina iMac with new model