Skip to content

Commit f37b0cb

Browse files
authored
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#280)
1 parent a52b0a4 commit f37b0cb

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Doc/library/smtpd.rst

+6
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

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ Release date: XXXX-XX-XX
1010
Core and Builtins
1111
-----------------
1212

13+
Documentation
14+
-------------
15+
16+
- bpo-25008: Document smtpd.py as effectively deprecated and add a pointer to
17+
aiosmtpd, a third-party asyncio-based replacement.
18+
1319
Library
1420
-------
1521

0 commit comments

Comments
 (0)