Skip to content
Snippets Groups Projects

Feat notify user errmsg

Merged Bo-Chun Chen requested to merge github/fork/diedpigs/feat-notify-user-errmsg into feat-cod-rmq
3 files
+ 237
48
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 8
2
# 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,9 +22,15 @@ User ID: {{{{ username }}}}
If you have any questions, please visit:
{Info_url}
or email at {My_email}
or email at {Admin_email}
Cheers,
"""
Whole_mail = Head + Body
UserReportHead = f"""From: {Sender_alias} <{Sender}>
To: <{Admin_email}>
Subject: User Creation Report:
"""
Loading