X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fbd42d09eb251acb237c0137823b97ab4fa1467f..d3d8f636ed951b4c02bdeeb146b528fe00dfbb48:/test/post/test-rfc6531?ds=inline diff --git a/test/post/test-rfc6531 b/test/post/test-rfc6531 index 8d5391dc..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" <