diff options
author | Christian Heimes <christian@cheimes.de> | 2013-12-02 19:44:17 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-12-02 19:44:17 (GMT) |
commit | a5768f729273b3e2f1464eeb348e16ff4c25df77 (patch) | |
tree | 412ebd87c07e7b9a80d745faa14102280ee7ff0e /Doc/library | |
parent | 216d463b1f5eea7b6505b9ec13372d830ef720b6 (diff) | |
download | cpython-a5768f729273b3e2f1464eeb348e16ff4c25df77.zip cpython-a5768f729273b3e2f1464eeb348e16ff4c25df77.tar.gz cpython-a5768f729273b3e2f1464eeb348e16ff4c25df77.tar.bz2 |
Issue #19785: smtplib now supports SSLContext.check_hostname and server name
indication for TLS/SSL connections.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/smtplib.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/smtplib.rst b/Doc/library/smtplib.rst index a7d1538..eba8ae9 100644 --- a/Doc/library/smtplib.rst +++ b/Doc/library/smtplib.rst @@ -90,6 +90,10 @@ Protocol) and :rfc:`1869` (SMTP Service Extensions). .. versionchanged:: 3.3 source_address argument was added. + .. versionchanged:: 3.4 + The class now supports hostname check with + :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see + :data:`~ssl.HAS_SNI`). .. class:: LMTP(host='', port=LMTP_PORT, local_hostname=None, source_address=None) @@ -316,6 +320,11 @@ An :class:`SMTP` instance has the following methods: .. versionchanged:: 3.3 *context* was added. + .. versionchanged:: 3.4 + The method now supports hostname check with + :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see + :data:`~ssl.HAS_SNI`). + .. method:: SMTP.sendmail(from_addr, to_addrs, msg, mail_options=[], rcpt_options=[]) |