Test files › Email
Sample Email test files
19 free email test files for QA and developers: apple-mail.emlx, attachment-tricky-filename.eml, dkim-spf-headers.eml, empty-body.eml and more. Each with a…
| File | Format | Size | What it catches |
apple-mail.emlx | EMLX | 742 bytes | Apple Mail’s on-disk format: a byte-count line, then the RFC 822 message, then an XML plist of Mail’s own metadata. |
attachment-tricky-filename.eml | EML | 643 bytes | An attachment whose filename uses RFC 2231 continuation encoding, contains a double extension and non-ASCII characters. |
dkim-spf-headers.eml | EML | 1007 bytes | A message with a realistic Received chain plus Authentication-Results, DKIM-Signature and ARC headers. |
empty-body.eml | EML | 273 bytes | Valid headers followed by a completely empty body. |
forwarded-nested.eml | EML | 864 bytes | A forwarded message: a complete RFC 5322 message embedded as a message/rfc822 part inside another. |
html-multipart.eml | EML | 593 bytes | multipart/alternative carrying both a text/plain and a text/html version of the same message. |
inline-image-cid.eml | EML | 774 bytes | multipart/related where the HTML body references an inline image through a cid: URL. |
long-folded-headers.eml | EML | 1.0 KB | Headers folded across many continuation lines, including a To: field with 25 recipients and a 300-character subject. |
mailbox.mbox | MBOX | 1.1 KB | An mbox archive of three messages, the format Gmail Takeout, Thunderbird and Apple Mail all export. Includes a body line beginning with "From " that has been escaped to ">From ". |
missing-required-headers.eml | EML | 103 bytes | A message with no Date and no Message-ID, and a body separated by a bare LF instead of CRLF. |
outlook-message.msg | MSG | 6.5 KB | A genuine Outlook .msg: MAPI properties stored inside an OLE2 compound file, with a recipient sub-storage and the original transport headers preserved. |
plain-text.eml | EML | 337 bytes | A minimal, fully valid RFC 5322 message: text/plain, UTF-8, CRLF line endings and all required headers. |
quoted-printable.eml | EML | 535 bytes | A quoted-printable body with accented characters, soft line breaks and an = sign at a wrap boundary. |
spoofed-display-name.eml | EML | 410 bytes | A display name that reads as a trusted address while the real envelope address is something else entirely. |
threaded-reply.eml | EML | 551 bytes | A reply carrying In-Reply-To and a References chain four messages deep. |
unicode-headers.eml | EML | 427 bytes | Subject and display name encoded as RFC 2047 encoded-words (=?UTF-8?B?...?=) carrying CJK, Arabic and emoji. |
web-archive.mht | MHTML | 689 bytes | A MIME HTML archive: an HTML page and its image bundled into one multipart/related file, the format Outlook and Internet Explorer call a Web Archive. |
winmail-tnef.eml | EML | 695 bytes | A message carrying an application/ms-tnef part named winmail.dat, which is how Outlook wraps rich formatting and attachments when it uses TNEF. |
with-attachment.eml | EML | 693 bytes | multipart/mixed with a base64-encoded PNG attachment and a Content-Disposition filename. |