Skip to content
Email files

Open an EML file, Italian certified mail included

Got an email saved as .eml and nothing to open it with, or an Italian PEC certified email with postacert.eml and daticert.xml inside? Drop it here to read the message and save the attachments. For PEC messages and receipts you also see what kind of receipt it is, the certified date and time and whether the provider's signature is intact. All in your browser: the file is never uploaded.

Published on · Updated on · by

The file stays on your device: reading, attachment extraction and signature checks happen in your browser. Remote images in the email are never loaded.

Your result will appear here

How to open an EML file

  1. 1

    Save the message

    In your webmail or mail app, download or export the message: the option is usually called download, save as or export, and it produces an .eml file.

  2. 2

    Drop the file

    Drag it into the box, or tap it to pick the file from your phone or computer. A postacert.eml taken out of a PEC message works too.

  3. 3

    See what it is

    The top line tells you whether it is an ordinary email, a PEC message, or an acceptance, delivery or non-delivery receipt, with the certified date and time.

  4. 4

    Check and save

    Confirm the provider's signature is intact, read the original message, download the attachments, or copy a report to keep.

Why an .eml file is hard to open, and why upload is a bad idea

An .eml file is an email saved exactly as it travelled: headers, plain text, HTML version and attachments, all in one text file defined by the Internet Message Format standard. A mail client opens it, but on a phone or on a computer without Outlook or Thunderbird set up it often does not open at all, or shows up as a wall of code.

Many online viewers solve that by asking you to upload the message to their server. An email is rarely harmless: invoices, contracts, bank details, personal conversations. This page reads the file inside your browser and sends nothing anywhere. You can check by opening the page, switching off your connection and dropping the file: it keeps working.

The HTML body is shown in a sandboxed frame where scripts do not run and remote images are never fetched. Many emails carry tracking pixels that tell the sender when and where the message was opened; here they stay silent. Images embedded in the message itself are shown normally.

With Italian certified email there is more to read. A PEC message is an envelope signed by the mail provider that holds three things: a text summarising the transmission, the original message as postacert.eml and the certification data as daticert.xml. Receipts have the same shape. Whoever opens the file sees attachments with technical names and cannot tell which one is the message or what the receipt proves. The page recognises the envelope, names the receipt, reads the certified time and verifies with your browser's cryptography that the provider's signature is intact, so you know the receipt was not touched after it was issued.

Italian PEC receipts, explained

PEC (Posta Elettronica Certificata) is Italy's registered email: messages and receipts are signed by accredited providers and have legal value, and Italian companies, public offices and professionals are required to have an address. If you deal with an Italian supplier, landlord, court or tax office, you will meet it. Each step of a PEC message produces a document signed by the provider. The sender receives three of them:

  • Acceptance receipt (ricevuta di accettazione): the sender's provider accepted the message and forwarded it. It proves sending, not arrival.
  • Delivery receipt (ricevuta di avvenuta consegna): the message was placed in the recipient's mailbox. According to AgID, the Italian digital agency, a message counts as delivered even if the recipient never opens the mailbox.
  • Non-delivery notice (avviso di mancata consegna): the message did not arrive, with the reason (unknown recipient or domain, virus, other error).

The recipient gets the certified message itself: the transport envelope, with the subject prefixed by "POSTA CERTIFICATA:" and the original message attached.

A delivery receipt can be full (it contains the original message with its attachments), short (it contains fingerprints of the message parts) or summary (no original message). Only the full receipt shows what was delivered, not just that something was.

AgID describes PEC receipts as enforceable against third parties. If you need one as evidence, keep the receipt file as you downloaded it, in .eml format: a printout or a PDF loses the provider's signature. Anyone documenting a formal notice in proceedings should check the format those proceedings require: this page reads the receipts, it does not certify them.

Inside the file: MIME, S/MIME and the PEC envelope

An ordinary .eml follows RFC 5322 for headers and MIME for its parts: a plain-text body, an HTML body, inline images and attachments, each encoded and separated by boundaries. The viewer decodes every part, rebuilds file names in any character set and lets you save each attachment as it was sent.

PEC technical rules come from Italian Presidential Decree No 68 of 11 February 2005 and its technical annex, also described in RFC 6109 published by the IETF. A PEC message or receipt is an email signed by the provider in S/MIME format (multipart/signed). Inside the signature you find:

  • a readable text summarising the transmission (who, to whom, when, which subject);
  • the original message as the postacert.eml attachment, when the receipt type includes it;
  • the certification data as daticert.xml: message type, sender, recipients, subject, provider, date and time with time zone, message identifier, delivery address or error description.

Headers say what you are looking at: X-Trasporto: posta-certificata for the message, X-Ricevuta with the type for receipts, X-Riferimento-Message-ID to link receipts to the message. The provider's signature covers the whole content: change one character of a receipt and the check fails. That is the check this page runs.

Glossary

Technical terms used on this page, briefly explained.

EML #
The standard format of an email saved to a file (RFC 5322): headers, text and attachments in a single text file.
PEC #
Posta Elettronica Certificata, Italian certified email: messages with receipts signed by the provider that prove sending and delivery, with legal value in Italy.
postacert.eml #
The attachment of a PEC message or receipt that holds the original message, exactly as sent.
daticert.xml #
The attachment of a PEC message or receipt with the certification data: type, sender, recipients, date and time, identifier.
PEC provider #
The company that runs the PEC mailbox and signs messages and receipts. Providers are accredited and listed in a public register kept by AgID.
S/MIME #
The standard for signing and encrypting email (RFC 8551). PEC uses it for the provider's signature on messages and receipts.
MSG #
Outlook's proprietary format for saved emails. It is not an .eml file and needs a dedicated tool.

Frequently asked questions

What is an .eml file?
An email saved to a file in the standard format: headers, text, HTML version and attachments. Webmail services and mail apps produce it when you download or export a message.
How do I open an .eml file without Outlook?
Drop it on this page: you see sender, recipients, subject, date and message body, and you can save the attachments, from a computer or a phone, with nothing to install.
Can I open an .eml file on iPhone or Android?
Yes. The page works in the phone's browser: tap the box, pick the file from your downloads or mail attachments and the message opens with its attachments ready to save.
Is my email uploaded to a server?
No. Your browser reads the file on your device and no content is sent. You can check by switching off your connection after the page has loaded: the tool keeps working.
Why are some images in the email missing?
Images loaded from the internet are blocked on purpose: they are often there to tell the sender when and where the email was read. Images embedded in the message itself are shown.
What is an Italian PEC email?
Posta Elettronica Certificata, Italy's registered email. The provider signs the message and issues receipts that prove when it was sent and delivered, with legal value in Italy. Companies, professionals and public offices in Italy must have a PEC address.
What are postacert.eml and daticert.xml?
The two attachments the provider adds to every PEC message and receipt: postacert.eml is the original message, daticert.xml holds the certification data in machine-readable form. Here you find them already decoded and ready to save.
How do I know whether a PEC message was delivered?
You need the delivery receipt (ricevuta di avvenuta consegna), which lands in the sender's mailbox. Drop it here to see its type, the address it was delivered to and the certified date and time. The acceptance receipt only proves the message was sent.
What does the signature check verify?
That the receipt's content is identical to what the provider signed and that the signature matches the certificate enclosed in the message. Whether the certificate belongs to a provider in the AgID register is not checked, and the page is not legal advice.
What is the difference between .eml and .msg?
.eml is the standard email format, .msg is Outlook's proprietary one. This page opens .eml files; a .msg file needs Outlook or a tool that reads that format.
How do I save a PEC message as an .eml file?
In the provider's webmail, open the message or receipt and use the download or save function: the file you get is an .eml. In desktop mail apps it is usually save as. Keep the file as it is, without opening and re-saving it in other programs.

Sources used

Laws, official tables and reference implementations the logic of this tool was checked against.

Got a project or a technical question?

I reply within 2 working days, within 24 hours for technical emergencies. The first discovery call lasts an hour, is free and not binding. By the end I'll tell you clearly whether I can help, or point you to someone who can do it better than me.

Get in touch