aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures/alternative.eml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-02 17:27:07 +0200
committerDanilo M. <danix@danix.xyz>2026-08-04 12:52:21 +0200
commit5f22f80b6b5cef5e768086338ae4b22120f3e67c (patch)
treee127827da5a248fd8e6c80397f896a1f6d302ac0 /tests/fixtures/alternative.eml
parent72b56d0beca6d640c724eabc73a3ee45cf04bfea (diff)
downloadqtmaildir-5f22f80b6b5cef5e768086338ae4b22120f3e67c.tar.gz
qtmaildir-5f22f80b6b5cef5e768086338ae4b22120f3e67c.zip
feat: add MimeParser with GMime and safe attachment naming
Diffstat (limited to 'tests/fixtures/alternative.eml')
-rw-r--r--tests/fixtures/alternative.eml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/fixtures/alternative.eml b/tests/fixtures/alternative.eml
new file mode 100644
index 0000000..1c35d79
--- /dev/null
+++ b/tests/fixtures/alternative.eml
@@ -0,0 +1,16 @@
+From: Alice <alice@example.org>
+Subject: Both parts
+Date: Sat, 01 Aug 2026 10:00:00 +0000
+Message-ID: <alt-1@example.org>
+MIME-Version: 1.0
+Content-Type: multipart/alternative; boundary="BOUND"
+
+--BOUND
+Content-Type: text/plain; charset=utf-8
+
+plain version
+--BOUND
+Content-Type: text/html; charset=utf-8
+
+<html><body><p>html version</p></body></html>
+--BOUND--