# Search the text inside attachments

To search inside attachments, click the filter icon beside the search box, click **Search In**, and type your words in **Search in Attachment**. Set a **From Date** and **To Date** no more than 30 days apart, then click **Search**. You can also filter by **Attachment Name** or **Attachment Type**, such as pdf.

## How to search the text inside attachments

1. Click the filter icon at the right of the search box.
2. Click **Search In** to show the extra filters.
3. Type the words to find in **Search in Attachment**.
4. Set **From Date** and **To Date** no more than 30 days apart.
5. Click **Search**.

## When to use it

> Rohit in purchasing knows a supplier quoted for "Model X-200" sometime this month, but not which supplier. He searches attachments for "X-200" over the last 30 days and finds the quotation PDF.

## Options

| Field | What it does |
|---|---|
| **Search in Attachment** | Words inside the attached files. |
| **Attachment Name** | Part of the file name. |
| **Attachment Type** | The file type without the dot, such as pdf or xlsx. |

## Good to know

- The date range for searching inside attachments can be at most 30 days. For older mail, run the search once for each 30-day period.
- Add a sender or subject as well to make the results shorter.

Source: https://docs.xgenplus.com/mail/search-inside-attachments/
