From 84f5205a3d1a5a03c559c84528f2b3d2fe62c65d Mon Sep 17 00:00:00 2001 From: admin <admin@whale.am28.uni-tuebingen.de> Date: Thu, 19 Sep 2019 19:12:39 +0200 Subject: [PATCH] change confirmation email to send it the etho2020 --- email_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email_client.py b/email_client.py index f6d8bd2..e045486 100644 --- a/email_client.py +++ b/email_client.py @@ -288,7 +288,7 @@ def send_confirmation(p=None, csv_file=None): csv_msg = EmailMessage() csv_msg['Subject'] = 'New Registration ' + p.name if p else "" csv_msg['From'] = EMAIL_ADDRESS - csv_msg['To'] = p._email # FIXME this is wrong!!! needs to be EMAIL_REPLY + csv_msg['To'] = EMAIL_REPLY content = "" if p and not p.valid: content += "Registration contains inconsistencies!\n\t"