aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures/with-attachment.eml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/with-attachment.eml')
-rw-r--r--tests/fixtures/with-attachment.eml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/fixtures/with-attachment.eml b/tests/fixtures/with-attachment.eml
new file mode 100644
index 0000000..7b1aedc
--- /dev/null
+++ b/tests/fixtures/with-attachment.eml
@@ -0,0 +1,25 @@
+Received: from sender.example.invalid (sender.example.invalid [203.0.113.42])
+ by mail.example.org (Postfix) with ESMTP id GGG77
+ for <you@example.org>; Tue, 8 Sep 2026 12:00:00 +0200 (CEST)
+Return-Path: <bounce@sender.example.invalid>
+From: "Accounts" <billing@sender.example.invalid>
+To: <you@example.org>
+Subject: Invoice attached
+Message-ID: <ccc333@sender.example.invalid>
+Date: Tue, 8 Sep 2026 12:00:00 +0200
+MIME-Version: 1.0
+Content-Type: multipart/mixed; boundary="BOUND1"
+
+--BOUND1
+Content-Type: text/plain; charset=utf-8
+
+See the attached invoice.
+
+--BOUND1
+Content-Type: application/pdf; name="invoice.pdf"
+Content-Disposition: attachment; filename="invoice.pdf"
+Content-Transfer-Encoding: base64
+
+SGVsbG8sIHdvcmxkIQ==
+
+--BOUND1--