Merge pull request 'Hotfix: Resubmission mail' (#265) from master into Docker

Reviewed-on: SGD-Nord/konova#265
This commit is contained in:
mpeltriaux 2022-12-05 06:55:53 +01:00
commit 80a44277bc

View File

@ -429,7 +429,7 @@ class Mailer:
"EMAIL_REPLY_TO": EMAIL_REPLY_TO,
}
msg = render_to_string("email/resubmission/resubmission.html", context)
user_mail_address = [SUPPORT_MAIL_RECIPIENT]
user_mail_address = [resubmission.user.email]
self.send(
user_mail_address,
_("Resubmission - {}").format(obj_identifier),