summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2017-02-24 21:15:17 (GMT)
committerGitHub <noreply@github.com>2017-02-24 21:15:17 (GMT)
commit66b5092fac4264efdc9c508a7dd425fa9833e147 (patch)
treedb17ac6a41fc45a1f2efd331b6ffdb1b0e6d07f6 /Doc
parente29741466df0cd01a49bf5ec3b1df3e2bad119a7 (diff)
downloadcpython-66b5092fac4264efdc9c508a7dd425fa9833e147.zip
cpython-66b5092fac4264efdc9c508a7dd425fa9833e147.tar.gz
cpython-66b5092fac4264efdc9c508a7dd425fa9833e147.tar.bz2
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#279)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/smtpd.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/smtpd.rst b/Doc/library/smtpd.rst
index a096de0..4d5a0ce 100644
--- a/Doc/library/smtpd.rst
+++ b/Doc/library/smtpd.rst
@@ -13,6 +13,12 @@
This module offers several classes to implement SMTP (email) servers.
+.. seealso::
+
+ The `aiosmtpd <http://aiosmtpd.readthedocs.io/>`_ package is a recommended
+ replacement for this module. It is based on :mod:`asyncio` and provides a
+ more straightforward API. :mod:`smtpd` should be considered deprecated.
+
Several server implementations are present; one is a generic
do-nothing implementation, which can be overridden, while the other two offer
specific mail-sending strategies.