diff options
author | Go MAEDA <maeda@farend.jp> | 2019-03-03 08:17:59 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-03-03 08:17:59 +0000 |
commit | 77f35cb81841b4747ee54862c7ad0dc6b69ab1ca (patch) | |
tree | 6983efad7426c93b3a623b2bf4d4199511e0e471 /test/fixtures | |
parent | 917f9d9442a90a2734feac41e1ec8c76bc339227 (diff) | |
download | redmine-77f35cb81841b4747ee54862c7ad0dc6b69ab1ca.tar.gz redmine-77f35cb81841b4747ee54862c7ad0dc6b69ab1ca.zip |
Option to parse HTML part of multipart (HTML) emails first (#30838).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17913 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/mail_handler/different_contents_in_text_and_html.eml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/fixtures/mail_handler/different_contents_in_text_and_html.eml b/test/fixtures/mail_handler/different_contents_in_text_and_html.eml new file mode 100644 index 000000000..5db852d5b --- /dev/null +++ b/test/fixtures/mail_handler/different_contents_in_text_and_html.eml @@ -0,0 +1,38 @@ +From JSmith@somenet.foo Sun Mar 02 23:30:00 2019
+From: John Smith <JSmith@somenet.foo>
+Content-Type: multipart/mixed; boundary="Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9"
+Message-Id: <BB533668-3CC8-41CA-A951-0A5D8EA37FB0@somenet.foo>
+Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
+Subject: Different contents in text part and HTML part
+Date: Sun, 03 Mar 2019 08:30:00 +0900
+To: redmine@somenet.foo
+X-Mailer: Apple Mail (2.1503)
+
+
+
+--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain;
+ charset=us-ascii
+
+The text part.
+
+
+--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/html;
+ charset=us-ascii
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww=
+w.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns=3D"http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" />
+</head>
+<body>
+<p>The html part.</p>
+</body>
+</html>
+
+
+--Apple-Mail=_33C8180A-B097-4B87-A925-441300BDB9C9--
|