Commit eea91fcc authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Decapitalize nomad email name to avoid spam detection.

parent dcad195a
......@@ -460,12 +460,12 @@ def send_mail(name: str, email: str, message: str, subject: str):
msg = MIMEText(message)
msg['Subject'] = subject
msg['From'] = 'The NOMAD team <%s>' % config.mail.from_address
msg['From'] = 'The nomad team <%s>' % config.mail.from_address
msg['To'] = name
to_addrs = [email]
if config.mail.cc_address is not None:
msg['Cc'] = 'The NOMAD team <%s>' % config.mail.cc_address
msg['Cc'] = 'The nomad team <%s>' % config.mail.cc_address
to_addrs.append(config.mail.cc_address)
try:
......
......@@ -1187,14 +1187,14 @@
"strictTransportSecurity": "max-age=31536000; includeSubDomains"
},
"smtpServer": {
"replyToDisplayName": "The NOMAD team",
"replyToDisplayName": "The nomad team",
"starttls": "",
"auth": "",
"port": "25",
"host": "mailrelay.mpcdf.mpg.de",
"replyTo": "webmaster@nomad-coe.eu",
"from": "webmaster@nomad-coe.eu",
"fromDisplayName": "The NOMAD team",
"fromDisplayName": "The nomad team",
"ssl": ""
},
"loginTheme": "material",
......
......@@ -1244,14 +1244,14 @@
"strictTransportSecurity": "max-age=31536000; includeSubDomains"
},
"smtpServer": {
"replyToDisplayName": "The NOMAD team",
"replyToDisplayName": "The nomad team",
"starttls": "",
"auth": "",
"port": "25",
"host": "mailrelay.mpcdf.mpg.de",
"replyTo": "webmaster@nomad-coe.eu",
"from": "webmaster@nomad-coe.eu",
"fromDisplayName": "The NOMAD team",
"fromDisplayName": "The nomad team",
"ssl": ""
},
"loginTheme": "material",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment