diff options
author | R David Murray <rdmurray@bitdance.com> | 2015-05-17 15:29:21 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2015-05-17 15:29:21 (GMT) |
commit | 224ef3ec3b0758956789c4c98e6cc93704304419 (patch) | |
tree | 4e06303f8a764f65842b432057845c012916ab5c /Doc/whatsnew/3.5.rst | |
parent | c1ecef78a3d5f5db47df66cc24929a66466fdcd4 (diff) | |
download | cpython-224ef3ec3b0758956789c4c98e6cc93704304419.zip cpython-224ef3ec3b0758956789c4c98e6cc93704304419.tar.gz cpython-224ef3ec3b0758956789c4c98e6cc93704304419.tar.bz2 |
#24211: Add RFC6532 support to the email library.
This could use more edge case tests, but the basic functionality is tested.
(Note that this changeset does not add tailored support for the RFC 6532
message/global MIME type, but the email package generic facilities will handle
it.)
Reviewed by Maciej Szulik.
Diffstat (limited to 'Doc/whatsnew/3.5.rst')
-rw-r--r-- | Doc/whatsnew/3.5.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 0360de4..51a3aa3 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -356,6 +356,12 @@ email header (``None`` if there is no such header). (Contributed by Abhilash Raj in :issue:`21083`.) +* A new policy option :attr:`~email.policy.EmailPolicy.utf8` can be set + ``True`` to encode email headers using the utf8 charset instead of using + encoded words. This allows ``Messages`` to be formatted according to + :rfc:`6532` and used with an SMTP server that supports the :rfc:`6531` + ``SMTPUTF8`` extension. (Contributed by R. David Murray in :issue:`24211`.) + glob ---- |