parent
0b3edff6f0
commit
ee4ff38f13
|
|
@ -459,7 +459,7 @@ def send_mail_to_organizer(
|
|||
else:
|
||||
print("Using SSL for SMTP connection.")
|
||||
if not is_test:
|
||||
with smtplib.SMTP_SSL("mail.extrasolar.space",
|
||||
with smtplib.SMTP_SSL(os.getenv('SMTP_SERVER'),
|
||||
os.getenv('SMTP_PORT', 465),
|
||||
context=ssl_context) as server:
|
||||
server.login(os.getenv("SMTP_USER_NAME", os.getenv("SMTP_EMAIL")), os.getenv("SMTP_PASSWORD"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue