App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine._internal.django.core.mail.backends.base.BaseEmailBackend Class Reference
Inheritance diagram for google.appengine._internal.django.core.mail.backends.base.BaseEmailBackend:
google.appengine._internal.django.core.mail.backends.console.EmailBackend google.appengine._internal.django.core.mail.backends.dummy.EmailBackend google.appengine._internal.django.core.mail.backends.locmem.EmailBackend google.appengine._internal.django.core.mail.backends.smtp.EmailBackend

Public Member Functions

def __init__
 
def open
 
def close
 
def send_messages
 

Public Attributes

 fail_silently
 

Detailed Description

Base class for email backend implementations.

Subclasses must at least overwrite send_messages().

Member Function Documentation

def google.appengine._internal.django.core.mail.backends.base.BaseEmailBackend.close (   self)
Close a network connection.
def google.appengine._internal.django.core.mail.backends.base.BaseEmailBackend.open (   self)
Open a network connection.

This method can be overwritten by backend implementations to
open a network connection.

It's up to the backend implementation to track the status of
a network connection if it's needed by the backend.

This method can be called by applications to force a single
network connection to be used when sending mails. See the
send_messages() method of the SMTP backend for a reference
implementation.

The default implementation does nothing.
def google.appengine._internal.django.core.mail.backends.base.BaseEmailBackend.send_messages (   self,
  email_messages 
)
Sends one or more EmailMessage objects and returns the number of email
messages sent.

The documentation for this class was generated from the following file: