summaryrefslogtreecommitdiff
path: root/docs/email.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-12-27 22:57:45 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-12-27 22:57:45 +0000
commitde72616ac09b1d3b1da32e53ea02809e9bde5428 (patch)
tree0ab5b4765e34f5d38dfeea0068a85f73f6fb5e9c /docs/email.txt
parent0891e7bec50a7d76c95e6098b1b71ae014b64272 (diff)
Added small bits to docs/email.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/email.txt')
-rw-r--r--docs/email.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/email.txt b/docs/email.txt
index 412aaa919c..b7450b8a14 100644
--- a/docs/email.txt
+++ b/docs/email.txt
@@ -80,14 +80,20 @@ site admins, as defined in the `ADMINS setting`_. Here's the definition::
``mail_admins()`` prefixes the subject with the value of the
`EMAIL_SUBJECT_PREFIX setting`_, which is ``"[Django] "`` by default.
+The "From:" header of the e-mail will be the value of the `SERVER_EMAIL setting`_.
+
.. _ADMINS setting: http://www.djangoproject.com/documentation/settings/#admins
.. _EMAIL_SUBJECT_PREFIX setting: http://www.djangoproject.com/documentation/settings/#email-subject-prefix
+.. _SERVER_EMAIL setting: http://www.djangoproject.com/documentation/settings/#server-email
The mail_managers function
==========================
``django.core.mail.mail_managers`` is just like ``mail_admins``, except it
sends an e-mail to the site managers, as defined in the `MANAGERS setting`_.
+Here's the definition::
+
+ mail_managers(subject, message, fail_silently=False)
.. _MANAGERS setting: http://www.djangoproject.com/documentation/settings/#managers