aboutsummaryrefslogtreecommitdiff
path: root/tests/emails/rfc/006.eml
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-07-05 10:17:42 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-07-05 10:17:42 +0200
commit744018c967b114f389090a9105d9cafac57d818f (patch)
tree395629fc8ce4d5c9035e5a9c90444165e39039e7 /tests/emails/rfc/006.eml
parentaca37b64c841037fce16ebbe63360ed5c9db17c8 (diff)
downloadaerogramme-744018c967b114f389090a9105d9cafac57d818f.tar.gz
aerogramme-744018c967b114f389090a9105d9cafac57d818f.zip
Add some test emails from mail-parser
Diffstat (limited to 'tests/emails/rfc/006.eml')
-rw-r--r--tests/emails/rfc/006.eml23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/emails/rfc/006.eml b/tests/emails/rfc/006.eml
new file mode 100644
index 0000000..f353adb
--- /dev/null
+++ b/tests/emails/rfc/006.eml
@@ -0,0 +1,23 @@
+From: sender@example.com
+To: recipient@example.com
+Subject: Multipart Email Example
+Content-Type: multipart/alternative; boundary="boundary-string"
+
+--boundary-string
+Content-Type: text/plain; charset="utf-8"
+Content-Transfer-Encoding: quoted-printable
+Content-Disposition: inline
+
+Plain text email goes here!
+This is the fallback if email client does not support HTML
+
+--boundary-string
+Content-Type: text/html; charset="utf-8"
+Content-Transfer-Encoding: quoted-printable
+Content-Disposition: inline
+
+<h1>This is the HTML Section!</h1>
+<p>This is what displays in most modern email clients</p>
+
+--boundary-string--
+