1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #29430 -- Clarified send_mail()'s fail_silently docs.

This commit is contained in:
Subhav Gautam 2018-05-30 11:37:55 +01:00 committed by Tim Graham
parent 666be7b994
commit 085ebc5f1a
2 changed files with 4 additions and 3 deletions

View File

@ -776,6 +776,7 @@ answer newbie questions, and generally made Django that much better:
Steven L. Smith (fvox13) <steven@stevenlsmith.com> Steven L. Smith (fvox13) <steven@stevenlsmith.com>
Steven Noorbergen (Xaroth) <xaroth+django@xaroth.nl> Steven Noorbergen (Xaroth) <xaroth+django@xaroth.nl>
Stuart Langridge <http://www.kryogenix.org/> Stuart Langridge <http://www.kryogenix.org/>
Subhav Gautam <subhavgautam@yahoo.co.uk>
Sujay S Kumar <sujay.skumar141295@gmail.com> Sujay S Kumar <sujay.skumar141295@gmail.com>
Sune Kirkeby <http://ibofobi.dk/> Sune Kirkeby <http://ibofobi.dk/>
Sung-Jin Hong <serialx.net@gmail.com> Sung-Jin Hong <serialx.net@gmail.com>

View File

@ -57,9 +57,9 @@ are required.
* ``recipient_list``: A list of strings, each an email address. Each * ``recipient_list``: A list of strings, each an email address. Each
member of ``recipient_list`` will see the other recipients in the "To:" member of ``recipient_list`` will see the other recipients in the "To:"
field of the email message. field of the email message.
* ``fail_silently``: A boolean. If it's ``False``, ``send_mail`` will raise * ``fail_silently``: A boolean. When it's ``False``, ``send_mail()`` will raise
an :exc:`smtplib.SMTPException`. See the :mod:`smtplib` docs for a list of an :exc:`smtplib.SMTPException` if an error occurs. See the :mod:`smtplib`
possible exceptions, all of which are subclasses of docs for a list of possible exceptions, all of which are subclasses of
:exc:`~smtplib.SMTPException`. :exc:`~smtplib.SMTPException`.
* ``auth_user``: The optional username to use to authenticate to the SMTP * ``auth_user``: The optional username to use to authenticate to the SMTP
server. If this isn't provided, Django will use the value of the server. If this isn't provided, Django will use the value of the