diff options
| author | James Bennett <ubernostrum@gmail.com> | 2007-12-01 17:20:19 +0000 |
|---|---|---|
| committer | James Bennett <ubernostrum@gmail.com> | 2007-12-01 17:20:19 +0000 |
| commit | 56b1b7d30b4342488ffe05fa5d8464562586af2b (patch) | |
| tree | 8070b31738c11348f3274ef9c34ef7d7b0cc2248 /docs | |
| parent | 14da40f54527b35479e290460365c20780646cbb (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/email.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/email.txt b/docs/email.txt index 55b91b1935..7f2eef6fc7 100644 --- a/docs/email.txt +++ b/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 |
