forked from Silverfish/proton-bridge
feat: revert back to quoted-printable
This commit is contained in:
@ -5,12 +5,13 @@ To: Receiver <receiver@pm.me>
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--longrandomstring
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
body
|
||||
|
||||
Ym9keQo=
|
||||
--longrandomstring
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
c29tZSBvdGhlciBwYXJ0IG9mIHRoZSBtZXNzYWdl
|
||||
some other part of the message
|
||||
--longrandomstring--
|
||||
.
|
||||
18
pkg/message/testdata/text_html.b64
vendored
18
pkg/message/testdata/text_html.b64
vendored
@ -1,18 +0,0 @@
|
||||
Content-Type: multipart/alternative; boundary="0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d"
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Type: text/html
|
||||
|
||||
PGh0bWw+PGJvZHk+VGhpcyBpcyBib2R5IG9mIDxiPkhUTUwgbWFpbDwvYj4gd2l0aG91dCBhdHRhY2htZW50PC9ib2R5PjwvaHRtbD4=
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Type: text/plain
|
||||
|
||||
VGhpcyBpcyBib2R5IG9mICpIVE1MIG1haWwqIHdpdGhvdXQgYXR0YWNobWVudA==
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d--
|
||||
.
|
||||
@ -5,14 +5,15 @@ To: Receiver <receiver@pm.me>
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/html
|
||||
|
||||
PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iSVNPLTg4NTktMiI+PC9oZWFkPjxib2R5PmxhdGluMiD4ufi5PC9ib2R5PjwvaHRtbD4K
|
||||
<html><body>This is body of <b>HTML mail</b> without attachment</body></htm=
|
||||
l>
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain
|
||||
|
||||
bGF0aW4yIO+/ve+/ve+/ve+/vQ==
|
||||
This is body of *HTML mail* without attachment
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d--
|
||||
.
|
||||
@ -10,15 +10,15 @@ Content-Type: multipart/alternative; boundary="0194fdc2fa2ffcc041d3ff12045b73c86
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/html
|
||||
|
||||
PGh0bWw+PGJvZHk+VGhpcyBpcyBib2R5IG9mIDxiPkhUTUwgbWFpbDwvYj4gd2l0aCBhdHRhY2htZW50PC9ib2R5PjwvaHRtbD4=
|
||||
<html><body>This is body of <b>HTML mail</b> with attachment</body></html>
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain
|
||||
|
||||
VGhpcyBpcyBib2R5IG9mICpIVE1MIG1haWwqIHdpdGggYXR0YWNobWVudA==
|
||||
This is body of *HTML mail* with attachment
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d--
|
||||
.
|
||||
|
||||
@ -10,15 +10,15 @@ Content-Type: multipart/alternative; boundary="0194fdc2fa2ffcc041d3ff12045b73c86
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/html
|
||||
|
||||
PGh0bWw+PGJvZHk+VGhpcyBpcyBib2R5IG9mIDxiPkhUTUwgbWFpbDwvYj4gd2l0aCBhdHRhY2htZW50PC9ib2R5PjwvaHRtbD4=
|
||||
<html><body>This is body of <b>HTML mail</b> with attachment</body></html>
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain
|
||||
|
||||
VGhpcyBpcyBib2R5IG9mICpIVE1MIG1haWwqIHdpdGggYXR0YWNobWVudA==
|
||||
This is body of *HTML mail* with attachment
|
||||
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d--
|
||||
.
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
Content-Type: multipart/mixed; boundary=longrandomstring
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--longrandomstring
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Type: text/html
|
||||
|
||||
PGh0bWw+PGJvZHk+VGhpcyBpcyBib2R5IG9mIDxiPkhUTUwgbWFpbDwvYj4gd2l0aCBhdHRhY2htZW50PC9ib2R5PjwvaHRtbD4=
|
||||
--longrandomstring
|
||||
Content-Disposition: attachment
|
||||
Content-Transfer-Encoding: base64
|
||||
|
||||
YXR0YWNobWVudA==
|
||||
--longrandomstring--
|
||||
.
|
||||
@ -1,5 +1,5 @@
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
Ym9keQ==
|
||||
body
|
||||
@ -5,9 +5,9 @@ To: Receiver <receiver@pm.me>
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--longrandomstring
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
Ym9keQ==
|
||||
body
|
||||
--longrandomstring
|
||||
Content-Disposition: inline
|
||||
Content-Transfer-Encoding: base64
|
||||
@ -1,6 +1,6 @@
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain; charset=ISO-8859-1
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
6enp6enp6Q==
|
||||
=E9=E9=E9=E9=E9=E9=E9
|
||||
@ -5,9 +5,9 @@ To: Receiver <receiver@pm.me>
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--longrandomstring
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
Ym9keQ==
|
||||
body
|
||||
--longrandomstring
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Type: application/octet-stream
|
||||
@ -5,13 +5,13 @@ To: Receiver <receiver@pm.me>
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--longrandomstring
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
Ym9keQ==
|
||||
body
|
||||
--longrandomstring
|
||||
Content-Disposition: attachment
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
YXR0YWNobWVudA==
|
||||
attachment
|
||||
--longrandomstring--
|
||||
.
|
||||
19
pkg/message/testdata/text_plain_pubkey.b64
vendored
19
pkg/message/testdata/text_plain_pubkey.b64
vendored
@ -1,19 +0,0 @@
|
||||
Content-Type: multipart/mixed; boundary="52fdfc072182654f163f5f0f9a621d729566c74d10037c4d7bbb0407d1e2"
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
|
||||
This is a multi-part message in MIME format.
|
||||
--52fdfc072182654f163f5f0f9a621d729566c74d10037c4d7bbb0407d1e2
|
||||
Content-Transfer-Encoding: base64
|
||||
|
||||
Ym9keQ==
|
||||
--52fdfc072182654f163f5f0f9a621d729566c74d10037c4d7bbb0407d1e2
|
||||
Content-Disposition: attachment; filename="publickeyname.asc.pgp"
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Type: application/pgp-key; name="publickeyname"
|
||||
|
||||
cHVibGlja2V5
|
||||
|
||||
--52fdfc072182654f163f5f0f9a621d729566c74d10037c4d7bbb0407d1e2--
|
||||
.
|
||||
@ -1,6 +1,6 @@
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
+Ln4ufi5
|
||||
=E9=E9=E9=E9=E9=E9=E9
|
||||
@ -1,6 +1,6 @@
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
6enp6enp6Q==
|
||||
=F8=B9=F8=B9=F8=B9
|
||||
@ -1,6 +1,6 @@
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
From: Sender <sender@pm.me>
|
||||
To: Receiver <receiver@pm.me>
|
||||
|
||||
Ym9keQ==
|
||||
body
|
||||
Reference in New Issue
Block a user