bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278)

This commit is contained in:
Barry Warsaw 2017-02-24 15:44:34 -05:00 committed by GitHub
parent f2beceb7e5
commit 0a1b656d8c
2 changed files with 10 additions and 1 deletions

View file

@ -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.

View file

@ -217,6 +217,9 @@ C API
Documentation
-------------
- bpo-25008: Document smtpd.py as effectively deprecated and add a pointer to
aiosmtpd, a third-party asyncio-based replacement.
- Issue #26355: Add canonical header link on each page to corresponding major
version of the documentation. Patch by Matthias Bussonnier.