From be3eafd45216fb4aed8ea4c22486a3f2f1c6f4e4 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Fri, 5 May 2017 14:15:27 +0200 Subject: [PATCH] Fix mail not sent on ack commentary --- commentaries/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commentaries/views.py b/commentaries/views.py index 6a2dbb375..d8554ec92 100644 --- a/commentaries/views.py +++ b/commentaries/views.py @@ -247,7 +247,7 @@ def vet_commentary_request_ack(request, commentary_id): email_args = ( 'SciPost Commentary Page activated', email_text, - [commentary.requested_by.user.email], + commentary.requested_by.user.email, ['commentaries@scipost.org'] ) emailmessage = EmailMessage(*email_args, reply_to=['commentaries@scipost.org']) -- GitLab