How to Set "Reply-To" in Targeted Communication Email Template (Not Email Client Template)

kurellaswam
Kilo Contributor


Hi everyone,

I’m trying to set the Reply-To field in a targeted communication email template (not the email client template).

Earlier, the reply-to was set to support@servicenow.com, but I want to change it to noreply@servicenow.com.

I’ve written the following notification email script:

add_reply_to_field:- email.setReplyTo('noreply@servicenow.com');
And I’m calling it in the Message HTML of email template like this:
${mail_script:add_reply_to_field}


But it doesn’t seem to be working. Has anyone done this successfully or know what I might be missing?

Thanks in advance

0 REPLIES 0