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.0.tar.gz (57.2 kB view details)

Uploaded Source

Built Distribution

aiosmtplib-3.0.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosmtplib-3.0.0.tar.gz
  • Upload date:
  • Size: 57.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.13 Linux/5.15.0-1039-aws

File hashes

Hashes for aiosmtplib-3.0.0.tar.gz
Algorithm Hash digest
SHA256 857767879678edb5d188e9d38c16dbfe7b3045b535f45b26b349c6471fe8c234
MD5 60739f172d41ddcb57d1db95854a56f0
BLAKE2b-256 50d1884d29b626f8605670426639529d4ba66d88393afa6503d9771d8d097803

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiosmtplib-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.13 Linux/5.15.0-1039-aws

File hashes

Hashes for aiosmtplib-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b718f8a457fa3a986c4975f0cccb864a73070bc4809f83199b55e6251eeb254
MD5 70d7d734e7d82331ab765c209f0f0fea
BLAKE2b-256 7f41fa90034c508cc31f7cbf3d99fdecf2e345c36eff12cef42de849b1373aed

See more details on using hashes here.

Supported by

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