Set email sender emails to newly added users in user table based on user's department

vrushalivar
Tera Contributor

I want to check if a record is newly created or updated in sys_user table, and check the department value , if users' department value is 'HR' the user should get emails from e.g example@hr.com email id . if user's department is IT user should get mails from e.g example@IT.com

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @vrushalivar 

As far as my understanding goes, this isn't feasible, as ServiceNow allows only one "from" email address to be configured in the email account.

The system only supports one active SMTP email account at a time, which is used to send all emails. However, you can receive emails from multiple POP3 or IMAP accounts.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0859856

 

https://www.servicenow.com/community/itsm-forum/how-to-use-multiple-email-accounts-for-different-typ....

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************