class documentation
class EmailBackend(BaseEmailBackend): (source)
A wrapper that manages the SMTP network connection.
Method | __init__ |
Undocumented |
Method | close |
Close the connection to the email server. |
Method | open |
Ensure an open connection to the email server. Return whether or not a new connection was required (True or False) or None if an exception passed silently. |
Method | send |
Send one or more EmailMessage objects and return the number of email messages sent. |
Instance Variable | connection |
Undocumented |
Instance Variable | host |
Undocumented |
Instance Variable | password |
Undocumented |
Instance Variable | port |
Undocumented |
Instance Variable | ssl |
Undocumented |
Instance Variable | ssl |
Undocumented |
Instance Variable | timeout |
Undocumented |
Instance Variable | use |
Undocumented |
Instance Variable | use |
Undocumented |
Instance Variable | username |
Undocumented |
Property | connection |
Undocumented |
Method | _send |
A helper method that does the actual sending. |
Instance Variable | _lock |
Undocumented |
Inherited from BaseEmailBackend
:
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Instance Variable | fail |
Undocumented |
def __init__(self, host=None, port=None, username=None, password=None, use_tls=None, fail_silently=False, use_ssl=None, timeout=None, ssl_keyfile=None, ssl_certfile=None, **kwargs):
(source)
¶
Undocumented
Ensure an open connection to the email server. Return whether or not a new connection was required (True or False) or None if an exception passed silently.