Multipart Email — Text + HTML (EML)
A multipart/alternative email carrying both a plain-text and an HTML body — for testing MIME part selection, HTML-part handling and sanitising, and multipart parsing.
Content-Type: multipart/alternative; boundary="=_alt_0002000000000000"
MIME-Version: 1.0
From: Maya Chen <maya@brightside.example>
To: Sam Rivera <sam@meridiansupply.example>
Subject: Re: Your quote Q-2026-0148
Date: Thu, 15 Jan 2026 09:30:00 -0800
Message-ID: <0002-alt@brightside.example>
--=_alt_0002000000000000
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
SGkgTWF5YSwKCkdyZWF0IOKAlCBvcmRlciBjb25maXJtZWQuIFRoZSBpbnZvaWNlIChJTlYtMDAw
MSkgaXMgYXR0YWNoZWQgdG8gdGhlIGFjY291bnQgYW5kCnRoZSBnb29kcyBzaGlwIE1vbmRheS4g
UGFwZXIgYW5kIGdsb3ZlcyB3aWxsIHRyYXZlbCBpbiB0aGUgc2FtZSBzaGlwbWVudC4KClRoYW5r
cyBmb3IgeW91ciBidXNpbmVzcyEKU2FtCk1lcmlkaWFuIFN1cHBseSBDby4K
--=_alt_0002000000000000
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
PGh0bWw+PGJvZHkgc3R5bGU9ImZvbnQtZmFtaWx5OkFyaWFsLHNhbnMtc2VyaWY7Y29sb3I6IzE4
MTgxYiI+PHA+SGkgTWF5YSw8L3A+PHA+R3JlYXQgJm1kYXNoOyA8c3Ryb25nPm9yZGVyIGNvbmZp
cm1lZDwvc3Ryb25nPi4gVGhlIGludm9pY2UgKElOVi0wMDAxKSBpcyBvbiB0aGUgYWNjb3VudCBh
bmQgdGhlIGdvb2RzIHNoaXAgPHN0cm9uZz5Nb25kYXk8L3N0cm9uZz4uIFBhcGVyIGFuZCBnbG92
ZXMgd2lsbCB0cmF2ZWwgaW4gdGhlIHNhbWUgc2hpcG1lbnQuPC9wPjxwPlRoYW5rcyBmb3IgeW91
ciBidXNpbmVzcyE8YnI+U2FtPGJyPjxzcGFuIHN0eWxlPSJjb2xvcjojMDU5NjY5Ij5NZXJpZGlh
biBTdXBwbHkgQ28uPC9zcGFuPjwvcD48L2JvZHk+PC9odG1sPg==
--=_alt_0002000000000000--
Specifications
- Format
- RFC 822 MIME
- Structure
- multipart/alternative
- Parts
- text/plain + text/html
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.
- svgAnimated Spinner (SVG)An animated loading spinner using SMIL (animateTransform) — a self-contained animated SVG for testing whether a renderer or converter handles SVG animation, and how it rasterises an animated frame.
- svgBar Chart (SVG)A bar chart drawn as vector SVG — axis, gridlines, labelled bars — the scalable counterpart to the raster chart images, for testing SVG chart rendering and vector conversion.
- drawiodraw.io Diagram (XML)A draw.io (diagrams.net) diagram in its native mxGraphModel XML — a small flowchart — for testing draw.io import/export and XML parsing of diagram files.
- svgFlat Illustration (SVG)A flat vector landscape — gradient sky, sun, layered hills, and trees built from bezier paths — a richer SVG for testing gradient and path rendering, thumbnailing, and vector conversion.
- dotGraphviz DOT GraphA Graphviz DOT directed graph describing a fulfilment pipeline — for testing DOT parsing, Graphviz rendering, and DOT-to-SVG/PNG conversion.
Generated by generation/email_samples.py. Free for any use, no attribution required — license.