How to open an EML file on iPhone, with its attachments
An .eml file is a single saved email. On a phone it often shows up as an attachment you cannot preview, or as a wall of text. The goal is usually not the message itself but what is attached to it: an invoice, a PDF or a signed file.
On this page
- From difficult file to readable document.
- What is inside an EML file
- Ways to open an EML file
- Invoices and signed files inside the message
- Outlook messages
- Privacy
- What the app does not do
- If the message does not open
- What to check in a message that carries an invoice
- Common mistakes
- Step by step on a Mac
- If the document does not display as expected
- Questions about this file type.
From difficult file to readable document.
Save the message as a file
From a mail app or webmail, export or download the message as .eml and save it in Files. If the message arrived as an attachment, use Save to Files from the share sheet.
Open it in EU Docs
Open the file from Files or the share sheet in EU Docs. The app reads the message on the device and shows the available sender, recipient, subject, date and attachment list.
Open the attachment you need
Choose a supported attachment, for example an invoice XML, a PDF or a P7M. Keep the original .eml, especially if the message is evidence of what was sent or received.
What is inside an EML file
An EML file is plain text in the MIME format. The top holds headers such as From, To, Subject and Date. Below them comes the body and each attachment, usually encoded in base64 so that binary files survive as text.
That is why a text editor shows pages of letters and digits where the attachment should be. The attachment is there, but it is encoded, not readable.
Ways to open an EML file
Pick the route that matches what you need.
| Route | Good for | Watch out for |
|---|---|---|
| Text editor | Checking headers or the raw source | Attachments appear as encoded blocks, not files |
| A mail app | Reading an ordinary message | Support for opening .eml files varies by app and system version |
| A Mac mail client | Reading the message on a Mac | A message you only want to inspect gets added to a mailbox |
| EU Docs | Messages that carry invoices or signed files | It is a document reader, not a mail client |
Invoices and signed files inside the message
Business emails often carry a FatturaPA XML, a PDF invoice or a .p7m. EU Docs continues from the message into those attachments.
Italian certified email (PEC) is the same format with extra receipts and a signed envelope. The guide to opening PEC and EML attachments covers that case, and a P7M attachment is explained in what a P7M file is.
Outlook messages
Outlook saves messages in its own .msg format rather than .eml. EU Docs also reads supported Outlook .msg messages, so the same steps apply.
Privacy
Emails and invoices hold names, addresses, tax numbers and bank details. Online EML viewers ask you to upload the file. EU Docs opens and parses it on the device and has no document-upload service.
What the app does not do
EU Docs is not a mailbox: it does not send, receive or sync email. It reads a message you saved and the supported documents attached to it. Opening a message is not proof of delivery, and the app does not validate certified-email receipts as legal evidence. Attachments in formats it does not support cannot be previewed.
If the message does not open
Check that the file ends in .eml and was fully downloaded. A message saved by a copy-paste into a text file can lose its attachments. Download it again from the source and avoid editing the file, because a changed line break or header can break the message structure.
What to check in a message that carries an invoice
Start with the headers: who sent it, to whom and when. Then look at the attachment list. An invoice usually arrives as an XML file, sometimes as a P7M-wrapped XML, often next to a PDF copy. The PDF and the XML should describe the same invoice, so compare invoice number and total between them before you pay or book it.
If the message came through certified email, keep the receipts and the original message together with the invoice. The app reads what the file contains; it does not tell you whether the message was legally delivered.
Common mistakes
Forwarding the message instead of saving it, which changes the structure and can drop attachments. Renaming the .eml to .txt to read it, which shows the encoded source and is no easier to use. Opening a message in a mail client that moves or marks it as read when you only wanted to inspect it. Save a copy as a file first and work on the copy.
Step by step on a Mac
Drag the .eml onto EU Docs or use Open from the Finder. The message summary appears with the attachment list; select an invoice or a signed file to continue. The flow is the same as on iPhone and iPad, and a Mac is convenient when a month of messages needs to be checked in one sitting.
If the document does not display as expected
Keep the original filename and check that the download is complete. Renaming XML, P7M or ASiC files to PDF does not convert them. If a signed container opens, check the type of its extracted payload: it may be an invoice, PDF or another format requiring its own reader.
For an invoice, compare the document identifier, supplier, currency, tax and total with the original fields. Report an unsupported format with its non-sensitive format/version details; avoid sending private documents unless you choose an appropriate support channel.
Authoritative references
Official specifications and public-sector documentation used to check the terminology in this guide.
Questions about this file type.
Can iPhone open an EML file?
It depends on the app and system version. EU Docs opens EML messages on iPhone, iPad and Mac and shows the sender, recipients, subject, date and attachments.
How do I get the attachment out of an EML file?
Open the message in EU Docs and select a supported attachment such as an XML invoice, a PDF or a P7M. The app reads it on the device.
Is the EML file uploaded anywhere?
No. EU Docs parses the message on the device and has no document-upload service.
Does it open Outlook .msg files too?
Yes, supported Outlook .msg messages open the same way.