diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-02 17:27:07 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-04 12:52:21 +0200 |
| commit | 5f22f80b6b5cef5e768086338ae4b22120f3e67c (patch) | |
| tree | e127827da5a248fd8e6c80397f896a1f6d302ac0 /tests/fixtures/inline_image.eml | |
| parent | 72b56d0beca6d640c724eabc73a3ee45cf04bfea (diff) | |
| download | qtmaildir-5f22f80b6b5cef5e768086338ae4b22120f3e67c.tar.gz qtmaildir-5f22f80b6b5cef5e768086338ae4b22120f3e67c.zip | |
feat: add MimeParser with GMime and safe attachment naming
Diffstat (limited to 'tests/fixtures/inline_image.eml')
| -rw-r--r-- | tests/fixtures/inline_image.eml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/fixtures/inline_image.eml b/tests/fixtures/inline_image.eml new file mode 100644 index 0000000..a9dd24b --- /dev/null +++ b/tests/fixtures/inline_image.eml @@ -0,0 +1,19 @@ +From: Alice <alice@example.org> +Subject: Inline image +Date: Sat, 01 Aug 2026 10:00:00 +0000 +Message-ID: <cid-1@example.org> +MIME-Version: 1.0 +Content-Type: multipart/related; boundary="REL" + +--REL +Content-Type: text/html; charset=utf-8 + +<html><body><img src="cid:logo@example.org"></body></html> +--REL +Content-Type: image/png +Content-Transfer-Encoding: base64 +Content-ID: <logo@example.org> + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9 +awAAAABJRU5ErkJggg== +--REL-- |
