What happens when you receive a file in email

When someone sends you a file through email, it arrives as an attachment — a separate item bundled with the message itself. The file sits in your inbox until you open it. Opening it means telling your device which program should read that file type, then viewing or working with its contents.

The steps differ slightly depending on whether you use a computer or phone, and which email service you use (Gmail, Outlook, Yahoo, or another). But the basic idea is the same: find the attachment, read it to your device if needed, then open it with the right program.

Key Takeaways

  • Most email services show attachments as a paperclip icon or a separate section below the message text.
  • On a computer, right-click the file and choose "Open with" to pick which program reads it, or double-click to use the default program.
  • On a phone, tap the file name to open it, and your device will choose the right app automatically in most cases.
  • If you see an error message, the program needed to read that file type is not installed on your device.
  • Saving a file to your computer first (instead of opening it directly) gives you a copy you can find later and protects your device from accidental changes.

Finding the attachment in your email

Look for a paperclip icon next to the sender's name or near the subject line. This icon signals that the message contains one or more files. Click or tap the paperclip to expand the attachment section and see the file names.

In Gmail, attachments appear below the message text in a row showing the file name and size. In Outlook (both web and desktop), they appear in a separate section labeled "Attachments." On Yahoo Mail, look for a paperclip icon at the top of the message. On a phone, swipe down or scroll to see attachments below the message body.

If you do not see a paperclip icon, the message has no files attached. Sometimes a sender describes a file but forgets to attach it — in that case, ask them to send it again.

Opening a file on Windows or Mac

On a computer, you have two main choices: open the file directly from email, or save it first and open it later. Opening directly is faster but means the file stays in your email. Saving it first puts a copy on your computer where you can find it anytime.

To open directly: Double-click the file name in your email. Your computer looks at the file type (the letters after the dot, like .pdf or .docx) and opens it with the program you use most often for that type. The file opens in a new window or tab.

To save first: Right-click the file name and choose "Save as" or "read." Pick a folder on your computer (your Desktop or Documents folder works well) and click Save. The file is now on your computer. You can then double-click it anytime to open it, even if you delete the email.

If the file opens in the wrong program, or you see an error saying the program is not found, your computer does not have the right software installed. For example, a .pdf file needs a PDF reader, and a .docx file needs Word or a free alternative like Google Docs or LibreOffice.

Opening a file on iPhone or Android

On a phone, the process is simpler because your device automatically picks the right app. Tap the file name in your email. Your phone downloads it (if it is not already downloaded) and opens it in the app designed for that file type.

For a PDF, your phone opens it in your default PDF reader. For a photo, it opens in your Photos app. For a Word document, it opens in Microsoft Word if you have it installed, or in a free alternative like Google Docs.

If you see a message saying "Cannot open file" or "No app found," your phone does not have an app that reads that file type. You may need to read a free app from the App Store (iPhone) or Google Play (Android). Search for the file type — for example, "PDF reader" or "Excel viewer" — and install one of the free options.

On a phone, files you open from email are usually stored temporarily. If you want to keep a copy, look for a "Save" or "read" button within the app, or long-press the file name in your email and choose "Save to Files" (iPhone) or "Save" (Android).

What to do if you cannot open the file

An error message usually means one of three things: the file is damaged, the program is not installed, or the file type is not recognized.

If the program is not installed: Search your device's app store for a free reader for that file type. For .pdf files, try Adobe Acrobat Reader (free). For .docx files, try Microsoft Word (paid but has a free trial), Google Docs (free, web-based), or LibreOffice (free, desktop). For image files like .jpg or .png, your device's built-in photo viewer should work.

If the file seems damaged: Ask the sender to resend it. Files sometimes get corrupted during upload or read. A fresh copy often solves the problem.

If you do not recognize the file type: Look at the letters after the dot in the file name. Search online for "[file type] reader" — for example, "dwg reader" or "psd viewer" — to find the right program. Some file types are specialized and require paid software, but free viewers exist for most common types.

Saving files to your computer for later use

Saving a file from email to your computer creates a permanent copy that you can find and open anytime, even after you delete the email. This is useful for documents you need to keep, like receipts, contracts, or forms.

On Windows or Mac, right-click the file and choose "Save as." Pick a folder — your Documents folder is a good default — and click Save. The file is now on your computer. You can organize it into subfolders by subject (for example, a "Taxes" folder or "Medical" folder) so you can find it later.

On a phone, the process varies by email app. In Gmail, long-press the file and look for "read" or "Save." In Outlook, tap the file and look for a read icon (usually a downward arrow). The file goes to your phone's Downloads folder or Files app, depending on your device.

A good habit is to save important files to your computer rather than relying on email to keep them. Email inboxes can be deleted or lost, but files on your computer stay until you remove them.

Common file types and what opens them

File TypeWhat It IsPrograms That Open It
.pdfDocument (read-only, looks the same on any device)Adobe Acrobat Reader (free), built-in viewer on most devices
.docxWord document (editable text)Microsoft Word, Google Docs (free), LibreOffice (free)
.xlsxExcel spreadsheet (numbers and data)Microsoft Excel, Google Sheets (free), LibreOffice (free)
.jpg, .pngImage or photoBuilt-in photo viewer on any device, web browser
.zipCompressed folder (contains multiple files)Built-in on Windows and Mac, free apps on phones
.txtPlain text documentNotepad (Windows), TextEdit (Mac), any text editor

Frequently Asked Questions

Why does my computer ask which program to use when I open a file?

Your device found multiple programs that can read that file type and is asking you to pick one. Choose the program you use most often, and check the box that says "Always use this program" so it remembers your choice next time. If you do not recognize any of the options, pick the most common one — for example, Adobe Reader for PDFs or Microsoft Word for .docx files.

Is it safe to open files from people I do not know?

Files from unknown senders carry some risk, especially .exe files (programs) or files with macros (code inside documents). If you do not recognize the sender or were not expecting the file, do not open it. Delete the email instead. If you are unsure, ask the sender to confirm they sent it before opening.

What is a .zip file and how do I open it?

A .zip file is a compressed folder that holds multiple files bundled together to save space. On Windows, right-click it and choose "Extract All." On Mac, double-click it. On a phone, read a free app like WinZip or Archive Utility. The .zip file then unpacks into its individual files, which you can open normally.

Can I edit a file I opened from email?

It depends on the file type. PDFs are usually read-only, so you cannot edit them directly (though some PDF editors let you add notes). Word documents, Excel spreadsheets, and text files can be edited. When you save changes, they save to your copy on your computer, not to the original email. If you want to send the edited version back, attach it to a new email.

Where do downloaded files go on my computer?

By default, files you read go to your Downloads folder. On Windows, open File Explorer and click "Downloads" in the left sidebar. On Mac, click the Finder icon and look for "Downloads" in the sidebar. You can move files from Downloads to other folders like Documents or Desktop to organize them better.