summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2010-03-06 11:21:48 +0000
committerJames Bennett <ubernostrum@gmail.com>2010-03-06 11:21:48 +0000
commitb3c2ae9153656a7eb281350e4a8974aed53196a4 (patch)
tree6d2d3c0d2b563d20561188c4a95e58d620eab752
parent215615ad58160320ae02d938c85f323cf2c92793 (diff)
[1.1.X] Fixed #11680: Added a note in the error-reporting documentation about basic e-mail configuration. Backport of [12686] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/howto/error-reporting.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt
index 246e7445d0..afda25b911 100644
--- a/docs/howto/error-reporting.txt
+++ b/docs/howto/error-reporting.txt
@@ -23,6 +23,17 @@ administrators immediate notification of any errors. The :setting:`ADMINS` will
get a description of the error, a complete Python traceback, and details about
the HTTP request that caused the error.
+.. note::
+
+ In order to send e-mail, Django requires a few settings telling it
+ how to connect to your mail server. At the very least, you'll need
+ to specify :setting:`EMAIL_HOST` and possibly
+ :setting:`EMAIL_HOST_USER` and :setting:`EMAIL_HOST_PASSWORD`,
+ though other settings may be also required depending on your mail
+ server's configuration. Consult :ref:`the Django settings
+ documentation <ref-settings>` for a full list of email-related
+ settings.
+
By default, Django will send email from root@localhost. However, some mail
providers reject all email from this address. To use a different sender
address, modify the :setting:`SERVER_EMAIL` setting.