diff --git a/core/backend.py b/core/backend.py index cda4dd5..3f73164 100644 --- a/core/backend.py +++ b/core/backend.py @@ -1365,7 +1365,7 @@ class BackendSession(Session): invite_msg = f"""\ Subject: {sender_email} wants to talk to you using CrossTalk! To: {email} -From: CrossTalk network administration +From: CrossTalk network administration This e-mail was sent to you because {sender_info} wants to chat with you using the CrossTalk service, and you don't have an account. @@ -1388,7 +1388,7 @@ They've attached this message, as well: with smtplib.SMTP(settings.SMTP_HOST, settings.SMTP_PORT) as server: server.starttls() server.login(settings.SMTP_USERNAME, settings.SMTP_PASSWORD) - server.sendmail("administration@ugnet.xyz", email, invite_msg) + server.sendmail("ct-noreply@hiden.cc", email, invite_msg) else: print(f"[Mailer] {sender_email} already has an account. Not sending an invitation e-mail.") diff --git a/settings.py b/settings.py index c799f41..968a7f8 100644 --- a/settings.py +++ b/settings.py @@ -54,7 +54,7 @@ SUSPENDED_ACCOUNT_DAYS = 30 # SMTP SMTP_HOST = 'mail-server-here' SMTP_PORT = 587 -SMTP_USERNAME = 'administration@ugnet.xyz' +SMTP_USERNAME = 'ct-noreply@hiden.cc' SMTP_PASSWORD = '' # What frontends are enabled