"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

sachin_namjoshi
Kilo Patron
Kilo Patron

Configure email script to set replyto as empty and call this email script in email template.

You can use below code in email script

 

email.setReplyTo("");

 

Regards,

Sachin

Hi Sachin,

I used the code provided in the "Reply To" field. Below are the steps I followed :

Navigated to "sys_email_client_template.LIST" and opened the configured email template and on the top > Configure > Form Layout > Chose "Reply To" and saved.

In this column, I included the code provided and when done so, if I try to open the email template in the respective HR Service, I see that the code itself is appearing in the "Reply To" field.

Please let me know if this is the right way to do it?

Thank you

 

Follow below steps:

 

- Go to System Notifications --> Notification Email scripts

find_real_file.png

 

- Create new email script and paste below code in email script

 

(function runMailScript( /* GlideRecord */ current, /* TemplatePrinter */ template,
/* Optional EmailOutbound */
email, /* Optional GlideRecord */ email_action,
/* Optional GlideRecord */
event) {

// Add your code here
email.setReplyTo("");

})(current, template, email, email_action, event);

 

- Call this email script from email client template like below

 

find_real_file.png

 

Regards,

Sachin

Hi Sachin,

Thanks for your response and the detailed step by step explanation. I followed the steps and created new email script and called the script from Email client template but nothing happened as expected as in the Reply To field still does not show up blank, it still auto populates instance email address.

Thank you