Skip to content
Snippets Groups Projects
Commit 073f1e37 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Change My_email to Admin_email

parent be439a15
No related branches found
No related tags found
6 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!78Feat cod rmq,!62Feat notify user errmsg,!63Feat db handle,!55task manager fail handling
# Some variable for email
Server = 'localhost'
My_email = 'root@localhost'
Admin_email = 'root@localhost'
Sender = 'ROOT@LOCALHOST'
Sender_alias = 'Services'
Subject = 'New User Account'
......@@ -22,7 +22,7 @@ User ID: {{{{ username }}}}
If you have any questions, please visit:
{Info_url}
or email at {My_email}
or email at {Admin_email}
Cheers,
"""
......
......@@ -42,7 +42,7 @@ def notify_user(ch, method, properties, body):
else:
# Send email to user
receivers = [user_email, mail_cfg.My_email]
receivers = [user_email, mail_cfg.Admin_email]
message = Template(mail_cfg.Whole_mail).render(username=username, to=user_email)
if args.dry_run:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment