Can Email User Label Be Changed For Outgoing Notifications

ayush_saxena
Tera Expert

Hi,

I was just doing an POC on Email Accounts and was able to configure multiple POP's.

I have two Questions around the same :-

1. Do we have a way to check in Inbound Scripts the mail is Popped in Servicenow using which Account and process the mails accordingly. Definitely we can impose a condition email.direct.indexOf('xyz@abc.com') >-1 but the challenge is if user is sending out mails to two account both configured in Email Account it will lead to discrepancies. Was looking a secure way to process mails

2. If a user is sending mail to 'abc@xyz.com' we expects a reply from the same, which can be configured using from attribute in notification but the Email Label remains "IT Service desk" which is confusing as sometimes users are receiving mails IT Service Desk <abc@xyz.com> and sometimes IT Service Desk <xyz@abc.com>

Has anyone worked on similar kind of requirements. Suggestions are welcomed

Regards,

Ayush Saxena

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ayush,



You can set the field "From" in the email notification i.e Enter the email address you want the email notification to use in the From field. For example, helpdesk@yourcompany.com


http://wiki.servicenow.com/index.php?title=Email_Notifications#gsc.tab=0


Thanks Pradeep,



As I mentioned in above Question it's the Outgoing Label I was concerned about i.e. IT HelpDesk <helpdesk@yourcompany.com> , well thought of a solution to make email Label blank and use complete sting in From and Reply to. Seems working for me at this point still checking for challenges that I may face.


Try setFrom to override the display value



Scripting for Email Notifications - ServiceNow Wiki


Good piece of information kalai, Infact we can set it directly in notifcation in LABEL <instance@service-now.com> format.



Regards


Uday