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.

"Reply To" field on Email Client Template

Prabha
Giga Contributor

Hi,

I tried to create a custom/new Email client template for a COE or HR Service(Email within a case). The business requirement is that the To, CC, BCC should be blank and should not auto populate anything. 

When trying to achieve this, I see that the "Reply To" field is auto populating the instance's email address ie I configured this template in our Dev instance  and the email address of the Dev instance is auto- populating in the "Reply to" field.

I also tried to disable/hide the "Reply To" field by setting the below to False : 

or set the Property name: glide.ui.email_client.reply_to as False. But really want to make sure that the "Reply To" filed shows up blank and does not auto populate anything.

I have attached screenshots for your reference. Appreciate your input on this.

Thank you,

8 REPLIES 8

Follow below solution

- Remove mail script calling from your client template.

- Add "Reply to" column in form layout of your client template and use code from below screenshot in reply to column. 

You need to make sure that sys_user table has some field (may be you need to create custom field on sys_user table) which is empty for all users on your instance.

e.g below code in screenshot gets title of the current user in reply to in client template

 

find_real_file.png

 

Hi @sachin.namjoshi @Pratiksha Kalamkar ,

I am also having this issue. Where exactly should the below be set as I can see no 'script' field on the 'sys_email_client_template' table.

email.setReplyTo("");

Thanks

Pratiksha Kalam
Kilo Sage

Hello,

Try this one,

		email.setReplyTo("joe.employee@yourcompany.com");			

 

If answer is helpful please mark correct or helpful!

Thanks,

Pratiksha

aruncr
Tera Contributor

You can just add "javascript:current.reply_to=' ';" in the Reply to field of the email client template.

Please refer the screen short.