]> diplodocus.org Git - nmh/commit
Enable SMTP 8BITMIME for messages with 8-bit content:
authorDavid Levine <levinedl@acm.org>
Thu, 6 Oct 2016 13:11:45 +0000 (09:11 -0400)
committerDavid Levine <levinedl@acm.org>
Thu, 6 Oct 2016 13:17:08 +0000 (09:17 -0400)
commit641e461b10b6fd320ed6a13ec4075754d29bbb0b
tree7a608c716f4710c2aba4551a49d785eedcc2a89a
parent9fc84ef71655096d563cf9190ce3e127f638c6d9
Enable SMTP 8BITMIME for messages with 8-bit content:

1) In post, look for a Content-Transfer-Encoding header.  It has to
   be the header for the message, not any MIME parts.  If found,
   post trusts that it's correct.  If there isn't one, post scans
   the entire message body for any 8-bit bytes.

2) If the message body is 8-bit:
   If the server supports 8BITMIME, enable it.

   If the server doesn't support 8BITMIME, fail with a message to
   user that they need to encode the message for 7-bit transport.
docs/pending-release-notes
mts/smtp/smtp.c
mts/smtp/smtp.h
test/mhmail/test-mhmail
test/post/test-post-basic
uip/post.c