Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Set reply to email address on mailto notification

Rob Bushrod
Tera Guru

We have an email that is sent out to an approver when a user requests certain items in the the Service Catalog. The approver then has 2 options; approve or reject. When the click on one of the options it triggers a mailto to start.

find_real_file.png

However the email address that is populated in the To field on that return is incorrect, is there anyway that I can change that?

Thanks,

Rob

5 REPLIES 5

Chuck Tomasi
Tera Patron

The reply to address should be the address of the instance.



instancename@service-now.com



What are you seeing?


Hi Chuck,



The issue is that we have 2 different service desks using the system and so I need the email responses to go back to the one of the email addresses and not the one it currently is.



So the email currently pops up as saying servicedesk@esp.co.uk which is the main company email address but we provide the helpdesk for a customer and it is their service catalog that this approval is being sent from so the email needs to go back to their email address. There is then a rule that directs the email to the inbox view based on the contract associated to the Service Desk agent on their user profile.



I have done a bit more research this morning and found that there is no glide.email.mail_to property set up and so it is defaulting to the glide.email.user property which is the above email address. The issue here is that I can't set the glide.email.mail_to property to the email address I need it to go to as that will cover all mailto and we are looking to implement our own Catalog internally which may need to use the mailto option. I have found that we have a mailto in our test instance that is specific to our customer but it is named mailto.approval.'customer name'.



So the question I really should have asked is; is there anyway that I can have different mailto's going to different email addresses or is this a global setting?



Thanks,



Rob


Hey Rob,



I am in the same situation, did you by any chance find a solution to this?


HI Quentin,



A email script was written to set the correct email address that we needed the mailto to reply to and then this was called in the email template.



Kind Regards,



Rob