Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added small bits to docs/email.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit de72616ac09b1d3b1da32e53ea02809e9bde5428 1 parent 0891e7b
@adrianholovaty adrianholovaty authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/email.txt
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.