Email with Attachment (EML)
A multipart/mixed email with a base64-encoded CSV file attachment — for testing attachment detection, decoding, and extraction from an EML message.
Content-Type: multipart/mixed; boundary="=_mixed_0003000000000000"
MIME-Version: 1.0
From: Maya Chen <maya@brightside.example>
To: Sam Rivera <sam@meridiansupply.example>
Subject: Delivery addresses for the standing order
Date: Thu, 15 Jan 2026 09:30:00 -0800
Message-ID: <0003-mixed@brightside.example>
--=_mixed_0003000000000000
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
SGkgU2FtLAoKQXR0YWNoZWQgaXMgb3VyIHVwZGF0ZWQgZGVsaXZlcnkgYWRkcmVzcyBsaXN0IChD
U1YpIGZvciB0aGUgc3RhbmRpbmcgb3JkZXIuClBsZWFzZSB1c2UgdGhlIE1hcmtldCBTdHJlZXQg
YWRkcmVzcyBmb3IgdGhpcyBzaGlwbWVudC4KClRoYW5rcywKTWF5YQo=
--=_mixed_0003000000000000
Content-Type: application/csv; name="delivery-addresses.csv"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="delivery-addresses.csv"
bG9jYXRpb24sY29udGFjdCxhZGRyZXNzLGNpdHksemlwCk1haW4gY2FmZSxNYXlhIENoZW4sMTgg
TWFya2V0IFN0cmVldCxQb3J0bGFuZCw5NzIwMQpSb2FzdGVyeSxEYW5hIExlZSw5MDAgQWxkZXIg
QXZlLFBvcnRsYW5kLDk3MjA5Cg==
--=_mixed_0003000000000000--
Specifications
- Format
- RFC 822 MIME
- Structure
- multipart/mixed
- Attachment
- delivery-addresses.csv (base64)
What is a .eml file?
An EML file is a single email message stored in the RFC 822 / MIME format — plain-text headers (From, To, Subject, Date, Message-ID) followed by the body, which may be plain text, HTML, or a multipart structure with alternative bodies and file attachments encoded in base64.
How to use this file
Use an example EML to test email header parsing, MIME decoding, HTML-part handling, attachment extraction, and EML-to-other-format conversion.
Related files
- mboxMBOX Mailbox (three-message thread)An mbox mailbox concatenating a short three-message email thread with the classic 'From ' separator lines and >From body escaping — for testing mailbox splitting and thread reconstruction.
- png16-bit Grayscale PNG (deep colour)A 16-bit (deep-colour) grayscale PNG holding a smooth 0–65535 gradient — for testing high-bit-depth support and spotting banding when a tool truncates to 8-bit.
- 3gp3GP — Mobile H.264 ClipThe clip as 3GP — the 3GPP mobile container from the feature-phone era. For testing 3GP demuxing and conversion.
- 3mf3MF — Manufacturing CubeA 10 mm cube as 3MF — the modern OPC-packaged manufacturing format (a ZIP of model XML plus relationships). For testing 3MF readers and slicers.
- 7z7z - LZMA2 ArchiveA 7-Zip archive using LZMA2 compression, containing a small documented file tree. For testing 7z extraction and conversion.
- 7z7z - Password ProtectedA password-protected 7z archive (AES-256, encrypted header). The password is “novus-example” — printed here on purpose so you can test encrypted-archive extraction. Contains only harmless sample text.
Generated by generation/email_samples.py. Free for any use, no attribution required — license.