Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 56b1b7d30b4342488ffe05fa5d8464562586af2b 1 parent 14da40f
@ubernostrum ubernostrum authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 docs/email.txt
View
8 docs/email.txt
@@ -253,9 +253,11 @@ For example::
The class has the following methods:
- * ``send()`` sends the message, using either the connection that is
- specified in the ``connection`` attribute, or creating a new connection
- if none already exists.
+ * ``send(fail_silently=False)`` sends the message, using either
+ the connection that is specified in the ``connection``
+ 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
subclass of Python's ``email.MIMEText.MIMEText`` class) or a
Please sign in to comment.
Something went wrong with that request. Please try again.