From c68fd2d0665e39597135339301143fe575d71065 Mon Sep 17 00:00:00 2001 From: Ker Ruben Ramos Date: Mon, 23 Sep 2013 16:40:31 +0800 Subject: [PATCH] Mail sender should not use submitter's email address --- accounts/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/views.py b/accounts/views.py index 78e137987288..ea6516025b4e 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -64,7 +64,7 @@ def mail_admins_sender(subject, message, sender, fail_silently=False, mail = EmailMultiAlternatives( u'%s%s' % (settings.EMAIL_SUBJECT_PREFIX, subject), - message, sender, [a[1] for a in settings.ADMINS], + message, settings.DEFAULT_FROM_EMAIL, [a[1] for a in settings.ADMINS], connection=connection )