aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures/attachment.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-02 17:27:07 +0200
commit35d3e4ff127b0213fa4d34f630c4a019e533a4df (patch)
tree7cf50ed64ad5886ff909ab8ab2a26d99b2d90947 /tests/fixtures/attachment.eml
parentb61ce428d81871fbbc6261f274f20785db9d1c38 (diff)
downloadqtmaildir-35d3e4ff127b0213fa4d34f630c4a019e533a4df.tar.gz
qtmaildir-35d3e4ff127b0213fa4d34f630c4a019e533a4df.zip
feat: add MimeParser with GMime and safe attachment naming
Diffstat (limited to 'tests/fixtures/attachment.eml')
-rw-r--r--tests/fixtures/attachment.eml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/fixtures/attachment.eml b/tests/fixtures/attachment.eml
new file mode 100644
index 0000000..a0410e4
--- /dev/null
+++ b/tests/fixtures/attachment.eml
@@ -0,0 +1,18 @@
+From: Alice <alice@example.org>
+Subject: With attachment
+Date: Sat, 01 Aug 2026 10:00:00 +0000
+Message-ID: <att-1@example.org>
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="MIX"
+
+--MIX
+Content-Type: text/plain; charset=utf-8
+
+see attached
+--MIX
+Content-Type: text/plain; charset=utf-8; name="notes.txt"
+Content-Disposition: attachment; filename="notes.txt"
+Content-Transfer-Encoding: quoted-printable
+
+caf=C3=A9 notes
+--MIX--