Skip to content
Snippets Groups Projects
Unverified Commit 151de31c authored by Ravi Tripathi's avatar Ravi Tripathi Committed by GitHub
Browse files

Merge pull request #141 from rtripath89/Bug_fix_listserv_subscription_issue

Adding a new variable to define the from address for subscription email
parents 045fc847 7a438bbc
No related branches found
No related tags found
1 merge request!147Merge previous default branch feat-cod-rmq into main
...@@ -27,7 +27,7 @@ def mail_list_subscription(ch, method, properties, body): ...@@ -27,7 +27,7 @@ def mail_list_subscription(ch, method, properties, body):
fullname = msg["fullname"] fullname = msg["fullname"]
email = msg["email"] email = msg["email"]
mail_list_admin = rcfg.Sender mail_list_admin = rcfg.Sender_subscription
mail_list = rcfg.Mail_list mail_list = rcfg.Mail_list
mail_list_bcc = rcfg.Mail_list_bcc mail_list_bcc = rcfg.Mail_list_bcc
server = rcfg.Mail_server server = rcfg.Mail_server
......
...@@ -25,6 +25,7 @@ db_path = ".agent_db" ...@@ -25,6 +25,7 @@ db_path = ".agent_db"
Mail_server = 'localhost' Mail_server = 'localhost'
Admin_email = 'root@localhost' Admin_email = 'root@localhost'
Sender = 'ROOT@LOCALHOST' Sender = 'ROOT@LOCALHOST'
Sender_subscription = 'SUBSCRIBE_EMAIL@LOCALHOST'
Sender_alias = 'Services' Sender_alias = 'Services'
Subject = 'New User Account' Subject = 'New User Account'
Info_url = 'https://www.google.com' Info_url = 'https://www.google.com'
......
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