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"