Skip to content

Commit

Permalink
[1.1.X] Fixed #11680: Added a note in the error-reporting documentati…
Browse files Browse the repository at this point in the history
…on 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
  • Loading branch information
ubernostrum committed Mar 6, 2010
1 parent 215615a commit b3c2ae9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/howto/error-reporting.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 get a description of the error, a complete Python traceback, and details about
the HTTP request that caused the error. 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 By default, Django will send email from root@localhost. However, some mail
providers reject all email from this address. To use a different sender providers reject all email from this address. To use a different sender
address, modify the :setting:`SERVER_EMAIL` setting. address, modify the :setting:`SERVER_EMAIL` setting.
Expand Down

0 comments on commit b3c2ae9

Please sign in to comment.