change confirmation email to send it the etho2020
This commit is contained in:
parent
7a2ac78218
commit
84f5205a3d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user