diff options
author | Eric Wong <e@yhbt.net> | 2020-04-25 05:52:22 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-04-26 07:03:14 +0000 |
commit | e39585ee2bdcbeaab7b6bd33b3568021042d0879 (patch) | |
tree | b130b0ce73d8ce9624424c4de6999481ab96439d /t/psgi_v2-old.eml | |
parent | 5d8dbb4aca5afcc6b98a4d951f03003fb7eaf356 (diff) | |
download | public-inbox-e39585ee2bdcbeaab7b6bd33b3568021042d0879.tar.gz |
tests: remove Email::MIME->create use entirely
Replace them with .eml files generated with the help of Email::MIME, but without some extraneous and unnecessary headers, and strip mime_load down to just loading files. This will give us more freedom to experiment with other mail libraries which may be more correct, better maintained, use less memory and/or be faster than Email::MIME.
Diffstat (limited to 't/psgi_v2-old.eml')
-rw-r--r-- | t/psgi_v2-old.eml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/t/psgi_v2-old.eml b/t/psgi_v2-old.eml new file mode 100644 index 00000000..f82dbf2f --- /dev/null +++ b/t/psgi_v2-old.eml @@ -0,0 +1,17 @@ +From: root@z +Message-ID: <a@dup> +Subject: hi +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Type: multipart/mixed; boundary="b" + +--b +Content-Type: text/plain + +blah +--b +Content-Type: text/plain +Content-Disposition: inline; filename="attach.txt" + +old +--b-- |