Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've noticed that when I do a search in Outlook 2010, Outlook considers it a match if some of the terms I'm searching for are in a message attachment. I'd like to disable this.

When I search for terms in my email archive, I don't want to see something listed where some of the terms I'm searching for are in an attachment. I only want to see results where everything I'm searching for is in the message itself (or its headers).

How can I do that?

share|improve this question
up vote 3 down vote accepted

By default Outlook searches all items in the folder. You can refine your search by using advanced options on the Search tab (appears when you click in the search box).

enter image description here

Clicking the More button gives you specific fields to search in.

enter image description here

Even faster, if you know the name of the field you can type it directly into the search box; i.e. subject:foo content:foo. This will only search the fields you specify. FYI, content is the body of the message. There are no spaces between the field, the : and the search term. Place a single space between multiple fields to be searched (like the image below).

enter image description here

share|improve this answer
Is there something I can type into the search box to exclude attachment content? Something like "-attachment"? That would be more practical than specifying content+from+subject. – KnowItAllWannabe Feb 13 '13 at 17:40
You can use hasattachment:no, but it excludes messages with attachments from the search results. I've not been able to find anything which will stop it from searching within the attachments, yet include the message in the search. Here is more information about Learn to narrow your search criteria for better searches in Outlook. – CharlieRB Feb 13 '13 at 18:04

You can use content:foo. That will narrow the scope of the search to just the content and ignore matches in the attachment.

share|improve this answer
Note that this idea had been suggested above. Also, the original question specified that I'd like to search headers, too, not just the body of the message. – KnowItAllWannabe May 31 '13 at 16:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.