Author: russellm
Date: 2009-07-11 10:37:38 -0500 (Sat, 11 Jul 2009)
New Revision: 11219

Modified:
   django/trunk/docs/howto/error-reporting.txt
Log:
Fixed #11453 -- Added note on customizing SERVER_EMAIL for error reporting. 
Thanks to seveas for the suggestion and draft text.

Modified: django/trunk/docs/howto/error-reporting.txt
===================================================================
--- django/trunk/docs/howto/error-reporting.txt 2009-07-11 15:37:08 UTC (rev 
11218)
+++ django/trunk/docs/howto/error-reporting.txt 2009-07-11 15:37:38 UTC (rev 
11219)
@@ -23,6 +23,10 @@
 get a description of the error, a complete Python traceback, and details about
 the HTTP request that caused the error.
 
+By default, Django will send email from r...@localhost. However, some mail
+providers reject all email from this address. To use a different sender
+address, modify the :setting:`SERVER_EMAIL` setting.
+
 To disable this behavior, just remove all entries from the :setting:`ADMINS`
 setting.
 
@@ -33,12 +37,12 @@
 not found" errors). Django sends emails about 404 errors when:
 
     * :setting:`DEBUG` is ``False``
-    
+
     * :setting:`SEND_BROKEN_LINK_EMAILS` is ``True``
-    
+
     * Your :setting:`MIDDLEWARE_CLASSES` setting includes ``CommonMiddleware``
       (which it does by default).
-    
+
 If those conditions are met, Django will e-mail the users listed in the
 :setting:`MANAGERS` setting whenever your code raises a 404 and the request has
 a referer. (It doesn't bother to e-mail for 404s that don't have a referer --


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to