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.5.2+, 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

sd_aiosmtplib-0.0.2.tar.gz (56.0 kB view details)

Uploaded Source

Built Distribution

sd_aiosmtplib-0.0.2-py3-none-any.whl (30.0 kB view details)

Uploaded Python 3

File details

Details for the file sd_aiosmtplib-0.0.2.tar.gz.

File metadata

  • Download URL: sd_aiosmtplib-0.0.2.tar.gz
  • Upload date:
  • Size: 56.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.4.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.13

File hashes

Hashes for sd_aiosmtplib-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9f1bc1b66de1fb4d464dd724141b6f720a4d83394a909161f809ed6daa6fecae
MD5 bc8317869e9e6b1dc4c48923df2d79cd
BLAKE2b-256 93e45cd90b47e655be7dfb5c490635af54db2dde3e2578f8ef2d988c6dc9259c

See more details on using hashes here.

File details

Details for the file sd_aiosmtplib-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: sd_aiosmtplib-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 30.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.4.0 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.13

File hashes

Hashes for sd_aiosmtplib-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e0e3dca1bba207940cefd7935efeb67d150501f418770bc15ab03e505bf0cf4
MD5 2976d9e16e6048cd1e3e744875edb646
BLAKE2b-256 0de6da91f2187086c3b6eac2c35541ccaabc09b0712ded28d9f04faa29e979fe

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