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

2014-03-01 Thread benjaoming
I've run into this issue twice... both times I spent hours and finally found the error and was in tears... especially the second time I did it :) I've made custom view handlers in urls.py like these: handler500 = 'myproject.views.server_error' handler404 = 'myproject.views.page_not_found'

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

2013-01-04 Thread nkryptic
The 404 emails are sent via the mail_managers method, which uses emails from the django.conf.settings.MANAGERS setting, as opposed to errors which go to the ADMINS. Double-check what MANAGERS (and ADMINS) is actually set to: $ python manage.py shell >>> from django.conf import settings >>>

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

2013-01-03 Thread Jan Paricka
Same problem here. 1) CommonMiddleware in place 2) debug = False 3) SEND_BROKEN_LINK_EMAILS = True And yet no 404 emails... Otherwise the app is happily emailing... Any thoughts? Thanks Jan On Friday, June 24, 2011 9:56:23 PM UTC+2, Kyle Gong wrote: > > For some reason, I can't get my

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

2011-06-27 Thread Russell Keith-Magee
On Mon, Jun 27, 2011 at 8:02 PM, Russell Keith-Magee wrote: > On Mon, Jun 27, 2011 at 7:02 AM, Kyle Gong wrote: >> I was trying to avoid setting up a mail server by just sending through >> gmail's SMTP server. It is sending correctly through >>

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

2011-06-27 Thread Russell Keith-Magee
On Mon, Jun 27, 2011 at 7:02 AM, Kyle Gong wrote: > I was trying to avoid setting up a mail server by just sending through > gmail's SMTP server. It is sending correctly through > django.utils.log.AdminEmailHandler and it was my understanding that they > worked through

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

2011-06-26 Thread Kyle Gong
I was trying to avoid setting up a mail server by just sending through gmail's SMTP server. It is sending correctly through django.utils.log.AdminEmailHandler and it was my understanding that they worked through the same mechanisms? On Jun 24, 2011 6:58 PM, "Russell Keith-Magee"

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

2011-06-24 Thread Russell Keith-Magee
On Saturday, June 25, 2011, Kyle Gong wrote: > 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 won't send 500 or 404 emails, but django.core.mail.EmailMessage and django.utils.log.AdminEmailHandler work

2011-06-24 Thread Kyle Gong
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