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

Fix incorrect variable name

parent f87d4187
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,!51Fix acct create wait,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!24Add notify user agent
......@@ -30,9 +30,9 @@ Subject: {opts['subject']}
smtp = smtplib.SMTP(opts['server'])
if 'bcc' in opts:
smtp.sendmail(opts['from'], [to, opts['bcc']], messagge)
smtp.sendmail(opts['from'], [to, opts['bcc']], msg)
else:
smtp.sendmail(opts['from'], [to], messagge)
smtp.sendmail(opts['from'], [to], msg)
# Email instruction to user
......
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