aiosmtplib ========== aiosmtplib is an asynchronous SMTP client for use with asyncio. For documentation, see `Read The Docs`_. Quickstart ---------- .. start quickstart .. code-block:: python 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)) .. end quickstart Requirements ------------ .. start requirements Python 3.10+ is required. .. end requirements Bug Reporting ------------- .. start bug-reporting Bug reports (and feature requests) are welcome via `Github issues`_. .. _Github issues: https://github.com/cole/aiosmtplib/issues .. end bug-reporting .. _Read The Docs: https://aiosmtplib.readthedocs.io/en/stable/