Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.4 KB

pyapi.rst

File metadata and controls

50 lines (37 loc) · 1.4 KB

outgoing

Core Python API

Functions

outgoing provides the following functions for constructing e-mail sender objects. Once you have a sender object, simply use it in a context manager to open it up, and then call its send() method with each email.message.EmailMessage object you want to send. See examples for examples.

from_config_file

from_dict

get_default_configpath

Sender Objects

Sender()

In addition to the base protocol, outgoing's built-in senders are reentrant and reusable as context managers, and their send() methods can be called outside of a context.

Exceptions

outgoing.errors.Error

outgoing.errors.InvalidConfigError

outgoing.errors.InvalidPasswordError

outgoing.errors.MissingConfigError

outgoing.errors.NetrcLookupError

outgoing.errors.UnsupportedEmailError