RE: Admin Email From Address

2016-11-15 Thread Matthew Pava
: Admin Email From Address As I know all error emails are sent within logger handler: 'mail_admins'. I would suggest to override 'AdminEmailHandler' and 'mail_admins'. for more information check logging documentation<https://docs.djangoproject.com/en/1.10/topics/lo

Re: Admin Email From Address

2016-11-15 Thread Constantine Covtushenko
> > *From:* kostyak7...@gmail.com [mailto:kostyak7...@gmail.com] *On Behalf > Of *Constantine Covtushenko > *Sent:* Tuesday, November 15, 2016 2:27 PM > > *To:* django-users@googlegroups.com > *Subject:* Re: Admin Email From Address > > > > Sorry but I do not see any

RE: Admin Email From Address

2016-11-15 Thread Matthew Pava
Sent: Tuesday, November 15, 2016 2:27 PM To: django-users@googlegroups.com Subject: Re: Admin Email From Address Sorry but I do not see any valuable reason of doing things in such way. Email is sent from wrong sender. And if someone decides to email back than those user would be confused. It is

Re: Admin Email From Address

2016-11-15 Thread Constantine Covtushenko
egroups.com > *Subject:* Re: Admin Email From Address > > > > Hi Matthew, > > There should be considered following: > 1. Not always cod runs with user interaction - worker cases > 2. Not always user authenticated > > With such cases who the sender should be? &g

RE: Admin Email From Address

2016-11-15 Thread Matthew Pava
: Admin Email From Address Hi Matthew, There should be considered following: 1. Not always cod runs with user interaction - worker cases 2. Not always user authenticated With such cases who the sender should be? Regards, Constantine C. On Nov 15, 2016 12:43 AM, "Matthew Pava" mailto

Re: Admin Email From Address

2016-11-14 Thread Constantine Covtushenko
Hi Matthew, There should be considered following: 1. Not always cod runs with user interaction - worker cases 2. Not always user authenticated With such cases who the sender should be? Regards, Constantine C. On Nov 15, 2016 12:43 AM, "Matthew Pava" wrote: I would like to be able to change th

Admin Email From Address

2016-11-14 Thread Matthew Pava
I would like to be able to change the 'from' address of the admin error emails in production environments to be the email address of the user that generated the error. It would be convenient in triaging errors rather quickly. I did examine the Django source code, but it doesn't appear to be pos