Skip to content
Snippets Groups Projects

Use a new variable to send the notification email to users for their …

2 files
+ 2
1
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -70,7 +70,7 @@ def notify_user(ch, method, properties, body):
else:
errmsg = "Sending email to user"
smtp = smtplib.SMTP(rcfg.Mail_server)
smtp.sendmail(rcfg.Sender, receivers, message)
smtp.sendmail(rcfg.Sender_notification, receivers, message)
logger.debug(f"Email sent to: {user_email}")
Loading