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:
James Bennett 2007-12-01 17:20:19 +00:00
parent 14da40f545
commit 56b1b7d30b
1 changed files with 5 additions and 3 deletions

View File

@ -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