Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cole/aiosmtplib
asyncio smtplib implementation
https://github.com/cole/aiosmtplib
asynchronous asyncio python smtp-client
Last synced: 23 days ago
JSON representation
asyncio smtplib implementation
- Host: GitHub
- URL: https://github.com/cole/aiosmtplib
- Owner: cole
- License: mit
- Created: 2014-09-07T14:44:03.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-11-19T02:15:12.000Z (23 days ago)
- Last Synced: 2024-11-19T03:22:38.337Z (23 days ago)
- Topics: asynchronous, asyncio, python, smtp-client
- Language: Python
- Homepage:
- Size: 1.21 MB
- Stars: 356
- Watchers: 9
- Forks: 48
- Open Issues: 8
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- starred-awesome - aiosmtplib - asyncio smtplib implementation (Python)
README
aiosmtplib
==========|circleci| |precommit.ci| |codecov| |zero-deps| |pypi-version| |downloads| |pypi-license|
------------
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 EmailMessageimport aiosmtplib
message = EmailMessage()
message["From"] = "root@localhost"
message["To"] = "[email protected]"
message["Subject"] = "Hello World!"
message.set_content("Sent via aiosmtplib")asyncio.run(aiosmtplib.send(message, hostname="127.0.0.1", port=25))
..
end quickstartRequirements
------------..
start requirementsPython 3.8+ is required.
..
end requirementsBug Reporting
-------------..
start bug-reportingBug reports (and feature requests) are welcome via `Github issues`_.
.. _Github issues: https://github.com/cole/aiosmtplib/issues
..
end bug-reporting.. |circleci| image:: https://circleci.com/gh/cole/aiosmtplib/tree/main.svg?style=shield
:target: https://circleci.com/gh/cole/aiosmtplib/tree/main
:alt: "aiosmtplib CircleCI build status"
.. |pypi-version| image:: https://img.shields.io/pypi/v/aiosmtplib.svg
:target: https://pypi.python.org/pypi/aiosmtplib
:alt: "aiosmtplib on the Python Package Index"
.. |pypi-status| image:: https://img.shields.io/pypi/status/aiosmtplib.svg
.. |pypi-license| image:: https://img.shields.io/pypi/l/aiosmtplib.svg
.. |codecov| image:: https://codecov.io/gh/cole/aiosmtplib/branch/main/graph/badge.svg
:target: https://codecov.io/gh/cole/aiosmtplib
.. |downloads| image:: https://static.pepy.tech/badge/aiosmtplib/month
:target: https://pepy.tech/project/aiosmtplib
:alt: "aiosmtplib on pypy.tech"
.. |precommit.ci| image:: https://results.pre-commit.ci/badge/github/cole/aiosmtplib/main.svg
:target: https://results.pre-commit.ci/latest/github/cole/aiosmtplib/main
:alt: "pre-commit.ci status"
.. |zero-deps| image:: https://0dependencies.dev/0dependencies.svg
:target: https://0dependencies.dev
:alt: "0 dependencies"
.. _Read The Docs: https://aiosmtplib.readthedocs.io/en/stable/