summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2021-02-22 16:44:03 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-02-23 06:35:45 +0100
commitb1af2cca3aba4cefc69c986d4de6cab6db524bf3 (patch)
treeb5d0fe185756094cd564191b8be3d26ce034cd24 /docs
parent5c4c3e2d1f232df6de24741ca1df32442a01ebc3 (diff)
Fixed #32471 -- Doc'd the return value of EmailMessage.send().
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/email.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt
index 04ed164c01..dd4882ff9a 100644
--- a/docs/topics/email.txt
+++ b/docs/topics/email.txt
@@ -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