class documentation

class EmailBackend(BaseEmailBackend):

View In Hierarchy

A wrapper that manages the SMTP network connection.
Method __init__ Undocumented
Method ​_send A helper method that does the actual sending.
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​_messages Send one or more EmailMessage objects and return the number of email messages sent.
Instance Variable ​_lock Undocumented
Instance Variable connection Undocumented
Instance Variable host Undocumented
Instance Variable password Undocumented
Instance Variable port Undocumented
Instance Variable ssl​_certfile Undocumented
Instance Variable ssl​_keyfile Undocumented
Instance Variable timeout Undocumented
Instance Variable use​_ssl Undocumented
Instance Variable use​_tls Undocumented
Instance Variable username Undocumented
Property connection​_class Undocumented

Inherited from BaseEmailBackend:

Method __enter__ Undocumented
Method __exit__ Undocumented
Instance Variable fail​_silently 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):
def _send(self, email_message):
A helper method that does the actual sending.
def close(self):
Close the connection to the email server.
def open(self):
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.
def send_messages(self, email_messages):
Send one or more EmailMessage objects and return the number of email messages sent.
_lock =

Undocumented

connection =

Undocumented

host =

Undocumented

password =

Undocumented

port =

Undocumented

ssl_certfile =

Undocumented

ssl_keyfile =

Undocumented

timeout =

Undocumented

use_ssl =

Undocumented

use_tls =

Undocumented

username =

Undocumented

@property
connection_class =

Undocumented