mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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
This commit is contained in:
38
test/fixtures/mail_handler/different_contents_in_text_and_html.eml
vendored
Normal file
38
test/fixtures/mail_handler/different_contents_in_text_and_html.eml
vendored
Normal file
@@ -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--
|
||||
Reference in New Issue
Block a user