Skip to content
Novus Examples
eml1.9 KB

Order Receipt Email (EML)

An order-confirmation / receipt email (multipart/alternative) with an itemised order table in both text and HTML — a transactional-email fixture for testing parsing and data extraction.

Preview — first 41 lineseml
Content-Type: multipart/alternative; boundary="=_rc_0002000000000000"
MIME-Version: 1.0
From: Meridian Supply Co. <orders@meridiansupply.example>
To: Sam Rivera <sam@meridiansupply.example>
Subject: Your order NV-10482 is confirmed
Date: Tue, 06 Jan 2026 14:12:00 -0800
Message-ID: <order-nv10482@meridiansupply.example>

--=_rc_0002000000000000
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64

T3JkZXIgTlYtMTA0ODIgY29uZmlybWVkIOKAlCB0aGFuayB5b3UhCgoxeCBXaXJlbGVzcyBNb3Vz
ZSAgICAgICAgICQxMi41MAoyeCBDYWJsZSBPcmdhbmlzZXIgICAgICAgICQ2LjQwClN1YnRvdGFs
ICAgICAgICAgICAgICAgICAkMTguOTAKU2hpcHBpbmcgICAgICAgICAgICAgICAgICAkMy4wMApU
b3RhbCAgICAgICAgICAgICAgICAgICAgJDIxLjkwCgpTaGlwcyB0bzogMTggTWFya2V0IFN0cmVl
dCwgUG9ydGxhbmQsIE9SIDk3MjAxCg==

--=_rc_0002000000000000
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64

PGh0bWw+PGJvZHkgc3R5bGU9ImZvbnQtZmFtaWx5OkFyaWFsLHNhbnMtc2VyaWY7Y29sb3I6IzE4
MTgxYiI+PGgyIHN0eWxlPSJjb2xvcjojMGU5ZDZiIj5PcmRlciBOVi0xMDQ4MiBjb25maXJtZWQ8
L2gyPjxwPlRoYW5rIHlvdSBmb3IgeW91ciBvcmRlciE8L3A+PHRhYmxlIGNlbGxwYWRkaW5nPSI2
IiBzdHlsZT0iYm9yZGVyLWNvbGxhcHNlOmNvbGxhcHNlIj48dHIgc3R5bGU9ImJhY2tncm91bmQ6
I2Y0ZjRmNSI+PHRoIGFsaWduPSJsZWZ0Ij5JdGVtPC90aD48dGg+UXR5PC90aD48dGggYWxpZ249
InJpZ2h0Ij5QcmljZTwvdGg+PC90cj48dHI+PHRkPldpcmVsZXNzIE1vdXNlPC90ZD48dGQgYWxp
Z249ImNlbnRlciI+MTwvdGQ+PHRkIGFsaWduPSJyaWdodCI+JDEyLjUwPC90ZD48L3RyPjx0cj48
dGQ+Q2FibGUgT3JnYW5pc2VyPC90ZD48dGQgYWxpZ249ImNlbnRlciI+MjwvdGQ+PHRkIGFsaWdu
PSJyaWdodCI+JDYuNDA8L3RkPjwvdHI+PHRyPjx0ZCBjb2xzcGFuPSIyIj5TdWJ0b3RhbDwvdGQ+
PHRkIGFsaWduPSJyaWdodCI+JDE4LjkwPC90ZD48L3RyPjx0cj48dGQgY29sc3Bhbj0iMiI+U2hp
cHBpbmc8L3RkPjx0ZCBhbGlnbj0icmlnaHQiPiQzLjAwPC90ZD48L3RyPjx0ciBzdHlsZT0iZm9u
dC13ZWlnaHQ6Ym9sZCI+PHRkIGNvbHNwYW49IjIiPlRvdGFsPC90ZD48dGQgYWxpZ249InJpZ2h0
Ij4kMjEuOTA8L3RkPjwvdHI+PC90YWJsZT48cD5TaGlwcyB0bzogMTggTWFya2V0IFN0cmVldCwg
UG9ydGxhbmQsIE9SIDk3MjAxPC9wPjwvYm9keT48L2h0bWw+

--=_rc_0002000000000000--

Specifications

Structure
multipart/alternative
Content
order table (items, totals)

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.

How to use this file for testing

“Order Receipt Email (EML)” is a deterministic Novus Examples fixture for Email parsing, Conversion testing. Standards-compliant RFC 822 messages — plain, multipart text+HTML, and with an attachment — plus an MBOX mailbox, for testing header parsing, MIME decoding, attachment extraction, and mailbox splitting.

Documented properties for this file: multipart/alternative. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Email fixtures use fixed dates, message IDs, and MIME boundaries so runs are reproducible, and every address is fictional. Test header parsing, MIME decoding, attachment extraction, and EML/MBOX conversion against the documented structure.

Code examples

from email import policy
from email.parser import BytesParser

msg = BytesParser(policy=policy.default).parse(open("order-receipt.eml", "rb"))
print(msg["subject"], msg["from"])

Generated by generation/email_extra.py. Free for any use, no attribution required — license.