mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Fixed #32471 -- Doc'd the return value of EmailMessage.send().
This commit is contained in:
parent
5c4c3e2d1f
commit
b1af2cca3a
1 changed files with 2 additions and 1 deletions
|
|
@ -306,7 +306,8 @@ The class has the following methods:
|
|||
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. An empty list of
|
||||
recipients will not raise an exception.
|
||||
recipients will not raise an exception. It will return ``1`` if the message
|
||||
was sent successfully, otherwise ``0``.
|
||||
|
||||
* ``message()`` constructs a ``django.core.mail.SafeMIMEText`` object (a
|
||||
subclass of Python's :class:`~email.mime.text.MIMEText` class) or a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue