Kaydet (Commit) fba79dc5 authored tarafından Barry Warsaw's avatar Barry Warsaw Kaydeden (comit) Victor Stinner

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

* bpo-25008: Deprecate smtpd and point to aiosmtpd.

* Simplify the aiosmtpd URL.
üst 365cb5bb
...@@ -13,6 +13,12 @@ ...@@ -13,6 +13,12 @@
This module offers several classes to implement SMTP (email) servers. 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 Several server implementations are present; one is a generic
do-nothing implementation, which can be overridden, while the other two offer do-nothing implementation, which can be overridden, while the other two offer
specific mail-sending strategies. specific mail-sending strategies.
......
...@@ -735,6 +735,9 @@ C API ...@@ -735,6 +735,9 @@ C API
Documentation 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 - Issue #26355: Add canonical header link on each page to corresponding major
version of the documentation. Patch by Matthias Bussonnier. version of the documentation. Patch by Matthias Bussonnier.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment