Skip to main content

asyncio SMTP client

Project description

"aiosmtplib CircleCI build status" "pre-commit.ci status" codecov "aiosmtplib on the Python Package Index" pypi-status "aiosmtplib on pypy.tech" pypi-python-versions pypi-license


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.8+ is required.

Bug Reporting

Bug reports (and feature requests) are welcome via Github issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiosmtplib-3.0.2.tar.gz (59.9 kB view details)

Uploaded Source

Built Distribution

aiosmtplib-3.0.2-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file aiosmtplib-3.0.2.tar.gz.

File metadata

  • Download URL: aiosmtplib-3.0.2.tar.gz
  • Upload date:
  • Size: 59.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for aiosmtplib-3.0.2.tar.gz
Algorithm Hash digest
SHA256 08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47
MD5 494d1bba7ee799eee938d8b903b93a4f
BLAKE2b-256 912a812517f8350cd317aad2ba1ce25dfc213c6f1f2e62e1cbf662b4bdc51d34

See more details on using hashes here.

File details

Details for the file aiosmtplib-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: aiosmtplib-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for aiosmtplib-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc
MD5 83b9db1795fd5182e1a6d52ac1ef66c5
BLAKE2b-256 8735441faea7a11159795881a6ec869454f40269e4e3806dced935a35d83a412

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page