Friday, June 24, 2011

Django won't send 500 or 404 emails, but django.core.mail.EmailMessage and django.utils.log.AdminEmailHandler work

For some reason, I can't get my server to send 500 or 404 emails. I
am set up to send email through gmail, and it is working properly when
I send error emails through a logger set up using
django.utils.log.AdminEmailHandler, and also when I send mail using
django.core.mail.EmailMessage.

I have DEBUG = False and SEND_BROKEN_LINK_EMAILS = True.

The server is a linode running Ubuntu 10.04, Django 1.3 and Python
2.6.5.

Any idea where I could look to track down the problem?

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

No comments:

Post a Comment