test: add message.Parse tests

This commit is contained in:
James Houlahan
2020-05-12 08:05:36 +02:00
parent 579e962980
commit e5d63edb62
35 changed files with 808 additions and 13 deletions

View File

@ -0,0 +1,19 @@
Content-Transfer-Encoding: 7bit
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: 7bit
Content-Type: text/html
<html><body>This is body of <b>HTML mail</b> without attachment</body></html>
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
This is body of *HTML mail* without attachment
--0194fdc2fa2ffcc041d3ff12045b73c86e4ff95ff662a5eee82abdf44a2d--
.