forked from Silverfish/proton-bridge
Parsing non-utf8 multipart/alternative message
This commit is contained in:
30
pkg/message/testdata/multipart_alternative_latin1.eml
vendored
Normal file
30
pkg/message/testdata/multipart_alternative_latin1.eml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
To: pmbridgeietest@outlook.com
|
||||
From: schizofrenic <schizofrenic@pm.me>
|
||||
Subject: aoeuaoeu
|
||||
Date: Thu, 30 Jul 2020 13:35:24 +0200
|
||||
MIME-Version: 1.0
|
||||
Content-Type: multipart/alternative; boundary="------------22BC647264E52252E386881A"; charset="iso-8859-1"
|
||||
Content-Language: en-US
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--------------22BC647264E52252E386881A
|
||||
Content-Type: text/plain
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
*aoeuaoeu*
|
||||
|
||||
|
||||
--------------22BC647264E52252E386881A
|
||||
Content-Type: text/html
|
||||
Content-Transfer-Encoding: 7bit
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
|
||||
</head>
|
||||
<body>
|
||||
<b>aoeuaoeu</b>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
--------------22BC647264E52252E386881A--
|
||||
Reference in New Issue
Block a user