Skip to content

Commit fba79dc

Browse files
warsawvstinner
authored andcommitted
bpo-25008: Deprecate smtpd and point to aiosmtpd (python#274)
* bpo-25008: Deprecate smtpd and point to aiosmtpd. * Simplify the aiosmtpd URL.
1 parent 365cb5b commit fba79dc

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Doc/library/smtpd.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313

1414
This module offers several classes to implement SMTP (email) servers.
1515

16+
.. seealso::
17+
18+
The `aiosmtpd <http://aiosmtpd.readthedocs.io/>`_ package is a recommended
19+
replacement for this module. It is based on :mod:`asyncio` and provides a
20+
more straightforward API. :mod:`smtpd` should be considered deprecated.
21+
1622
Several server implementations are present; one is a generic
1723
do-nothing implementation, which can be overridden, while the other two offer
1824
specific mail-sending strategies.

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,9 @@ C API
735735
Documentation
736736
-------------
737737

738+
- bpo-25008: Document smtpd.py as effectively deprecated and add a pointer to
739+
aiosmtpd, a third-party asyncio-based replacement.
740+
738741
- Issue #26355: Add canonical header link on each page to corresponding major
739742
version of the documentation. Patch by Matthias Bussonnier.
740743

0 commit comments

Comments
 (0)