Skip to content
Novus Examples
eml948 B

EML — Base64: Soft Line Breaks

A base64 text/plain message in utf-8 carrying the identical body to the quoted-printable twin beside it. Base64 is opaque to whitespace and line-start characters, so it is the reference side of the pair when a QP decoder is suspect.

Preview — first 18 lineseml
From: Maya Chen <maya@brightside.example>
To: Sam Rivera <sam@meridiansupply.example>
Subject: One very long paragraph line (SAMPLE)
Date: Sat, 07 Feb 2026 09:10:00 -0800
Message-ID: <p7-cte-b64-longline@brightside.example>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

T25lIHBhcmFncmFwaCwgb25lIHBoeXNpY2FsIGxpbmUsIDM5NiBjaGFyYWN0ZXJzIGxvbmc6IHN1
cHBseSBjaGFpbiBzdXBwbHkgY2hhaW4gc3VwcGx5IGNoYWluIHN1cHBseSBjaGFpbiBzdXBwbHkg
Y2hhaW4gc3VwcGx5IGNoYWluIHN1cHBseSBjaGFpbiBzdXBwbHkgY2hhaW4gc3VwcGx5IGNoYWlu
IHN1cHBseSBjaGFpbiBzdXBwbHkgY2hhaW4gc3VwcGx5IGNoYWluIHN1cHBseSBjaGFpbiBzdXBw
bHkgY2hhaW4gc3VwcGx5IGNoYWluIHN1cHBseSBjaGFpbiBzdXBwbHkgY2hhaW4gc3VwcGx5IGNo
YWluIHN1cHBseSBjaGFpbiBzdXBwbHkgY2hhaW4gc3VwcGx5IGNoYWluIHN1cHBseSBjaGFpbiBz
dXBwbHkgY2hhaW4gc3VwcGx5IGNoYWluIHN1cHBseSBjaGFpbiBzdXBwbHkgY2hhaW4uDQoNCkEg
c2hvcnQgc2Vjb25kIGxpbmUgc28gdGhlIHdyYXAgYm91bmRhcnkgaXMgdmlzaWJsZS4NCg==

Specifications

Wave
p7
Seed
20260807
Charset
utf-8
Decoded Bytes
451
Line Endings
CRLF (RFC 5322)
Twin Decodes Identically
true
Content Transfer Encoding
base64
Encoded Lines
8
Wrap Column
76

Testing contract

Expected to pass
Scenario
Decode a 76-column base64 utf-8 body and use it as the reference result for its quoted-printable twin.
Expected result
Decoded output is 451 octets identical to the quoted-printable twin, including trailing whitespace and CRLF breaks.

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

“EML — Base64: Soft Line Breaks” is a deterministic Novus Examples fixture for Email parsing, Encoding detection, 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: seed 20260807 · CRLF (RFC 5322). 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("cte-base64-long-line.eml", "rb"))
print(msg["subject"], msg["from"])

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