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 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.mime.text import MIMEText

import aiosmtplib

message = MIMEText("Sent via aiosmtplib")
message["From"] = "root@localhost"
message["To"] = "somebody@example.com"
message["Subject"] = "Hello World!"

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

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

aiosmtplib-1.1b0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

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

aiosmtplib-1.1b0-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file aiosmtplib-1.1b0.tar.gz.

File metadata

  • Download URL: aiosmtplib-1.1b0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for aiosmtplib-1.1b0.tar.gz
Algorithm Hash digest
SHA256 9a15493f486b2239969aee033cf2ef210f6e230c65c91994ded6fd959e27bec7
MD5 c0ba7162c0de5197e1cb95045d9765f7
BLAKE2b-256 401dddd830f8d0541e3630f71a48a4cbcb6ac2a73cda15174af7f1a103f78b96

See more details on using hashes here.

File details

Details for the file aiosmtplib-1.1b0-py3-none-any.whl.

File metadata

  • Download URL: aiosmtplib-1.1b0-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for aiosmtplib-1.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 6daba2732310b910880c258906d0637312481a964bdd68e3131b896be56b37e7
MD5 d9a93af132bc121f1872e26532a04f45
BLAKE2b-256 97022431ee4581902260bd43790e46c616e12f1ca7f5c7bf3a0025735324cee0

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