diff --git a/prod_rmq_agents/subscribe_mail_lists.py b/prod_rmq_agents/subscribe_mail_lists.py index a70d007e54721979bd82ef03b4216710a9c74303..d3dd7a8ac4ab694caf126859dc731731670f1bcb 100644 --- a/prod_rmq_agents/subscribe_mail_lists.py +++ b/prod_rmq_agents/subscribe_mail_lists.py @@ -27,7 +27,7 @@ def mail_list_subscription(ch, method, properties, body): fullname = msg["fullname"] email = msg["email"] - mail_list_admin = rcfg.Sender + mail_list_admin = rcfg.Sender_subscription mail_list = rcfg.Mail_list mail_list_bcc = rcfg.Mail_list_bcc server = rcfg.Mail_server diff --git a/rabbit_config.py.example b/rabbit_config.py.example index 1445130c68672f7dec00f8644e62df407e3242c1..4a959b2a497e616b108371aa2dd2ea9daf9b9035 100644 --- a/rabbit_config.py.example +++ b/rabbit_config.py.example @@ -25,6 +25,7 @@ db_path = ".agent_db" Mail_server = 'localhost' Admin_email = 'root@localhost' Sender = 'ROOT@LOCALHOST' +Sender_subscription = 'SUBSCRIBE_EMAIL@LOCALHOST' Sender_alias = 'Services' Subject = 'New User Account' Info_url = 'https://www.google.com'