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/msg_iter-nested.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/msg_iter-nested.eml')
-rw-r--r-- | t/msg_iter-nested.eml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/t/msg_iter-nested.eml b/t/msg_iter-nested.eml new file mode 100644 index 00000000..08d0adac --- /dev/null +++ b/t/msg_iter-nested.eml @@ -0,0 +1,26 @@ +From: root@localhost +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Type: multipart/mixed; boundary="outer" + +--outer +From: sub@localhost +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Content-Type: multipart/mixed; boundary="inner" + +--inner +MIME-Version: 1.0 + +a +--inner +MIME-Version: 1.0 + +b +--inner-- + +--outer +MIME-Version: 1.0 + +sig +--outer-- |