asyncio SMTP client
Project Links
Meta
Author: Cole Maclean
Requires Python: >=3.10
Classifiers
Development Status
- 5 - Production/Stable
Environment
- No Input/Output (Daemon)
Framework
- AsyncIO
Intended Audience
- Developers
Natural Language
- English
Operating System
- OS Independent
Topic
- Communications
- Communications :: Email
- Software Development :: Libraries
- Software Development :: Libraries :: Python Modules
Typing
- Typed
aiosmtplib is an asynchronous SMTP client for use with asyncio.
For documentation, see Read The Docs.
Quickstart
import asyncio
from email.message import EmailMessage
import aiosmtplib
message = EmailMessage()
message["From"] = "root@localhost"
message["To"] = "somebody@example.com"
message["Subject"] = "Hello World!"
message.set_content("Sent via aiosmtplib")
asyncio.run(aiosmtplib.send(message, hostname="127.0.0.1", port=25))
Requirements
Python 3.10+ is required.
Bug Reporting
Bug reports (and feature requests) are welcome via Github issues.
5.0.0
Oct 19, 2025
4.0.2
Aug 25, 2025
4.0.1
Apr 26, 2025
4.0.0
Feb 03, 2025
3.0.2
Jul 31, 2024
3.0.1
Nov 02, 2023
3.0.0
Oct 25, 2023
2.0.2
Jun 03, 2023
2.0.1
Jan 07, 2023
2.0.0
Oct 28, 2022
2.0.0b1
Oct 26, 2022
2.0.0b0
Oct 19, 2022
1.1.7
Sep 02, 2022
1.1.6
May 09, 2021
1.1.5
Apr 25, 2021
1.1.4
Sep 12, 2020
1.1.3
Mar 02, 2020
1.1.2
Nov 12, 2019
1.1.1
Nov 09, 2019
1.1.0
Aug 17, 2019
1.1b0
Aug 05, 2019
1.0.6
Jun 17, 2019
1.0.5
Apr 22, 2019
1.0.4
Jan 30, 2019
1.0.3
Oct 03, 2018
1.0.2
Aug 27, 2017
1.0.1
Apr 07, 2017
1.0.0
Dec 17, 2016
0.1.7
Dec 07, 2016
0.1.6
Dec 03, 2016
0.1.5rc2
Nov 26, 2016
0.1.4
Aug 03, 2016
0.1.3
Apr 19, 2016
0.1.2
Apr 19, 2016