Debian Codegraph @

README.rst

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 aiosmtplib
2 ==========
3
4 |circleci| |precommit.ci| |codecov| |zero-deps| |pypi-version| |downloads| |pypi-license|
5
6 ------------
7
8 aiosmtplib is an asynchronous SMTP client for use with asyncio.
9
10 For documentation, see `Read The Docs`_.
11
12 Quickstart
13 ----------
14
15
16 ..
17 start quickstart
18
19 .. code-block:: python
20
21 import asyncio
22 from email.message import EmailMessage
23
24 import aiosmtplib
25
26 message = EmailMessage()
27 message["From"] = "root@localhost"
28 message["To"] = "[email protected]"
29 message["Subject"] = "Hello World!"
30 message.set_content("Sent via aiosmtplib")
31
32 asyncio.run(aiosmtplib.send(message, hostname="127.0.0.1", port=25))
33
34 ..
35 end quickstart
36
37 Requirements
38 ------------
39
40 ..
41 start requirements
42
43 Python 3.10+ is required.
44
45 ..
46 end requirements
47
48
49 Bug Reporting
50 -------------
51
52 ..
53 start bug-reporting
54
55 Bug reports (and feature requests) are welcome via `Github issues`_.
56
57 .. _Github issues: https://github.com/cole/aiosmtplib/issues
58
59 ..
60 end bug-reporting
61
62
63 .. |circleci| image:: https://circleci.com/gh/cole/aiosmtplib/tree/main.svg?style=shield
64 :target: https://circleci.com/gh/cole/aiosmtplib/tree/main
65 :alt: "aiosmtplib CircleCI build status"
66 .. |pypi-version| image:: https://img.shields.io/pypi/v/aiosmtplib.svg
67 :target: https://pypi.python.org/pypi/aiosmtplib
68 :alt: "aiosmtplib on the Python Package Index"
69 .. |pypi-status| image:: https://img.shields.io/pypi/status/aiosmtplib.svg
70 .. |pypi-license| image:: https://img.shields.io/pypi/l/aiosmtplib.svg
71 .. |codecov| image:: https://codecov.io/gh/cole/aiosmtplib/branch/main/graph/badge.svg
72 :target: https://codecov.io/gh/cole/aiosmtplib
73 .. |downloads| image:: https://static.pepy.tech/badge/aiosmtplib/month
74 :target: https://pepy.tech/project/aiosmtplib
75 :alt: "aiosmtplib on pypy.tech"
76 .. |precommit.ci| image:: https://results.pre-commit.ci/badge/github/cole/aiosmtplib/main.svg
77 :target: https://results.pre-commit.ci/latest/github/cole/aiosmtplib/main
78 :alt: "pre-commit.ci status"
79 .. |zero-deps| image:: https://0dependencies.dev/0dependencies.svg
80 :target: https://0dependencies.dev
81 :alt: "0 dependencies"
82 .. _Read The Docs: https://aiosmtplib.readthedocs.io/en/stable/