1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
API Reference
=============
.. testsetup::
import aiosmtplib
from aiosmtplib import SMTPResponse
The send Coroutine
------------------
Use the :func:`aiosmtplib.send` coroutine in most cases when you want to send a message.
.. autofunction:: aiosmtplib.send
The SMTP Class
--------------
The lower level :class:`aiosmtplib.SMTP` class gives you more control over the SMTP connection.
.. autoclass:: aiosmtplib.SMTP
:members:
:inherited-members:
.. automethod:: aiosmtplib.SMTP.__init__
Server Responses
----------------
.. autoclass:: aiosmtplib.response.SMTPResponse
:members:
Status Codes
------------
.. autoclass:: aiosmtplib.typing.SMTPStatus
:members:
:undoc-members:
Exceptions
----------
.. automodule:: aiosmtplib.errors
:members:
:show-inheritance:
|