change confirmation email to send it the etho2020

This commit is contained in:
admin 2019-09-19 19:12:39 +02:00
parent 7a2ac78218
commit 84f5205a3d

View File

@ -288,7 +288,7 @@ def send_confirmation(p=None, csv_file=None):
csv_msg = EmailMessage() csv_msg = EmailMessage()
csv_msg['Subject'] = 'New Registration ' + p.name if p else "" csv_msg['Subject'] = 'New Registration ' + p.name if p else ""
csv_msg['From'] = EMAIL_ADDRESS 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 = "" content = ""
if p and not p.valid: if p and not p.valid:
content += "Registration contains inconsistencies!\n\t" content += "Registration contains inconsistencies!\n\t"