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'
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
>>>
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
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
>>
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
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"
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
>
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
8 matches
Mail list logo