X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/97d33c31f4d3fdef03610c1652b5e246184e0097..a69b69121b49e6de84d0e8bf0e39ba3a96b67188:/test/post/test-rfc6531 diff --git a/test/post/test-rfc6531 b/test/post/test-rfc6531 index 89c6e36d..817388da 100755 --- a/test/post/test-rfc6531 +++ b/test/post/test-rfc6531 @@ -69,6 +69,39 @@ EOF test_post "${testname}.actual" "${testname}.expected" +# check SMTPUTF8 without 8-bit body +start_test '8-bit headers with ASCII body' + +cat > "${testname}.expected" < BODY=8BITMIME SMTPUTF8 +RCPT TO: +DATA +From: senderø@example.com +To: recipientæ@example.com +Subject: Blåbærsyltetøy +MIME-Version: 1.0 +Content-Type: text/plain; charset="UTF-8" +Content-Transfer-Encoding: 8bit +Date: + +This is a test. +. +QUIT +EOF + +cat > "${MH_TEST_DIR}/Mail/draft" < "${testname}.expected" < "${testname}.expected.err" <