Fixed #5870: documented the "fail_silently" argument to EmailMessage.send().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
14da40f545
commit
56b1b7d30b
|
@ -253,9 +253,11 @@ For example::
|
||||||
|
|
||||||
The class has the following methods:
|
The class has the following methods:
|
||||||
|
|
||||||
* ``send()`` sends the message, using either the connection that is
|
* ``send(fail_silently=False)`` sends the message, using either
|
||||||
specified in the ``connection`` attribute, or creating a new connection
|
the connection that is specified in the ``connection``
|
||||||
if none already exists.
|
attribute, or creating a new connection if none already
|
||||||
|
exists. If the keyword argument ``fail_silently`` is ``True``,
|
||||||
|
exceptions raised while sending the message will be quashed.
|
||||||
|
|
||||||
* ``message()`` constructs a ``django.core.mail.SafeMIMEText`` object (a
|
* ``message()`` constructs a ``django.core.mail.SafeMIMEText`` object (a
|
||||||
subclass of Python's ``email.MIMEText.MIMEText`` class) or a
|
subclass of Python's ``email.MIMEText.MIMEText`` class) or a
|
||||||
|
|
Loading…
Reference in New Issue