Skip to main content

asyncio SMTP client

Project description

"aiosmtplib CircleCI build status" codecov "aiosmtplib on the Python Package Index" pypi-python-versions pypi-status "aiosmtplib on pypy.tech" pypi-license "Code style: black"


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")

loop = asyncio.get_event_loop()
loop.run_until_complete(aiosmtplib.send(message, hostname="127.0.0.1", port=25))

Requirements

Python 3.7+, compiled with SSL support, 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-2.0.0b1.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file aiosmtplib-2.0.0b1.tar.gz.

File metadata

  • Download URL: aiosmtplib-2.0.0b1.tar.gz
  • Upload date:
  • Size: 55.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.7 Linux/5.15.0-1021-aws

File hashes

Hashes for aiosmtplib-2.0.0b1.tar.gz
Algorithm Hash digest
SHA256 de8d86a61070c0dec9a6b6fd4d6cadf3be940b40a93fe48ee28fcd1ce2160d63
MD5 572142c280b8a864ed79dced17a8811b
BLAKE2b-256 e7300d93e59c6484ea77ef2616dac6038a7a4e5f2856b005f9c08cc4b70126c0

See more details on using hashes here.

File details

Details for the file aiosmtplib-2.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: aiosmtplib-2.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.7 Linux/5.15.0-1021-aws

File hashes

Hashes for aiosmtplib-2.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 5eb707de905295b4d7ce4046b141a1ef2525bfb4b1b7c93c2866ed5f54aaa9ed
MD5 8c023fb213fe1a9e52156b7e6eea9603
BLAKE2b-256 68e15fc8800a3c42f6face94b626535e0b4436989d3712c555c0569002fb41b2

See more details on using hashes here.

Supported by

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