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.

setFrom and setReplyTo not working on email client template in Workspace

Mathias Vandend
Mega Sage

I have a mail script returning setFrom and setReplyTo

find_real_file.png

I've added this mail script to these client templates
find_real_file.png

But when I click the reply/forward buttons in workspace the From and Reply are still the instance default email address.

1 ACCEPTED SOLUTION

Hi Thanks for the help

 

but fixed it by changing sender config to text and using javascript

find_real_file.png

 

This solves my issue

View solution in original post

5 REPLIES 5

Prasad Pagar
Mega Sage

Hi @Mathias Vandendriessche 

Can you show us sample email header from Email logs

Something like this. Does it contain Reply To?

find_real_file.png

Hi Prasad,

 

this is the header when I send the email

find_real_file.png

Yes so its not getting added at all. If your script worked it will add Reply-To here in headers.

Did you tried hardcoding it?

Hi Thanks for the help

 

but fixed it by changing sender config to text and using javascript

find_real_file.png

 

This solves my issue