Kaydet (Commit) 0f0a5c07 authored tarafından oromero's avatar oromero Kaydeden (comit) Tim Graham

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

üst 77b3907d
...@@ -289,7 +289,8 @@ The class has the following methods: ...@@ -289,7 +289,8 @@ The class has the following methods:
specified when the email was constructed, that connection will be used. specified when the email was constructed, that connection will be used.
Otherwise, an instance of the default backend will be instantiated and Otherwise, an instance of the default backend will be instantiated and
used. If the keyword argument ``fail_silently`` is ``True``, exceptions 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 * ``message()`` constructs a ``django.core.mail.SafeMIMEText`` object (a
subclass of Python's ``email.MIMEText.MIMEText`` class) or a subclass of Python's ``email.MIMEText.MIMEText`` class) or a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment