Skip to content

Commit 66b5092

Browse files
authored
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#279)
1 parent e297414 commit 66b5092

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
@@ -92,6 +92,9 @@ C API
9292
Documentation
9393
-------------
9494

95+
- bpo-25008: Document smtpd.py as effectively deprecated and add a pointer to
96+
aiosmtpd, a third-party asyncio-based replacement.
97+
9598
- Issue #26355: Add canonical header link on each page to corresponding major
9699
version of the documentation. Patch by Matthias Bussonnier.
97100

0 commit comments

Comments
 (0)