1
0
mirror of https://github.com/django/django.git synced 2025-03-14 03:10:45 +00:00

[1.6.x] Fixed #22161 -- Documented send() with no recipients won't raise an exception.

Backport of 0f0a5c07f9 from master
This commit is contained in:
oromero 2014-09-06 00:32:31 +00:00 committed by Tim Graham
parent 289d38b731
commit 414e3fc59d

View File

@ -275,7 +275,8 @@ The class has the following methods:
specified when the email was constructed, that connection will be used.
Otherwise, an instance of the default backend will be instantiated and
used. If the keyword argument ``fail_silently`` is ``True``, exceptions
raised while sending the message will be quashed.
raised while sending the message will be quashed. An empty list of
recipients will not raise an exception.
* ``message()`` constructs a ``django.core.mail.SafeMIMEText`` object (a
subclass of Python's ``email.MIMEText.MIMEText`` class) or a