|
| to |
|
| bcc |
|
| from_email |
|
| subject |
|
| body |
|
| attachments |
|
| extra_headers |
|
| connection |
|
|
string | content_subtype = 'plain' |
|
string | mixed_subtype = 'mixed' |
|
| encoding = None |
|
A container for email information.
def google.appengine._internal.django.core.mail.message.EmailMessage.__init__ |
( |
|
self, |
|
|
|
subject = '' , |
|
|
|
body = '' , |
|
|
|
from_email = None , |
|
|
|
to = None , |
|
|
|
bcc = None , |
|
|
|
connection = None , |
|
|
|
attachments = None , |
|
|
|
headers = None |
|
) |
| |
Initialize a single email message (which can be sent to multiple
recipients).
All strings used to create the message can be unicode strings
(or UTF-8 bytestrings). The SafeMIMEText class will handle any
necessary encoding conversions.
def google.appengine._internal.django.core.mail.message.EmailMessage.attach |
( |
|
self, |
|
|
|
filename = None , |
|
|
|
content = None , |
|
|
|
mimetype = None |
|
) |
| |
Attaches a file with the given filename and content. The filename can
be omitted and the mimetype is guessed, if not provided.
If the first parameter is a MIMEBase subclass it is inserted directly
into the resulting message attachments.
def google.appengine._internal.django.core.mail.message.EmailMessage.attach_file |
( |
|
self, |
|
|
|
path, |
|
|
|
mimetype = None |
|
) |
| |
Attaches a file from the filesystem.
def google.appengine._internal.django.core.mail.message.EmailMessage.recipients |
( |
|
self | ) |
|
Returns a list of all recipients of the email (includes direct
addressees as well as Bcc entries).
def google.appengine._internal.django.core.mail.message.EmailMessage.send |
( |
|
self, |
|
|
|
fail_silently = False |
|
) |
| |
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/_internal/django/core/mail/message.py