Base class for email backend implementations.
Subclasses must at least overwrite send_messages().
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:
- code/googleappengine-read-only/python/google/appengine/_internal/django/core/mail/backends/base.py