How to add TO email recipient from email script

Surendra6
Tera Contributor

Hello,

 

mailto:${mail_script:snow_get_email_to}?subject=RE: Accept- ${number}

 

We have a button in the body of notification and whenever we click on it will route to outlook page and TO and subject will auto populate but in To it is showing empty value and subject is populating fine.

 

Please help to populate the TO value also from email script.

 

Thanks!!

 

 

1 REPLY 1

Rao Vamshi
Kilo Guru

Hi @Surendra6 

Can you try this and let me know if answered your query.

mailto:${mail_script:snow_get_email_to}?subject=RE: Accept- ${number}&to=${mail_script:snow_get_email_to}

this will add "To" email address that you are trying to fetch using the snow_get_email_to script to the email address field in the mailto URL


Do mark helpful/correct, and accept the solution.


Thanks,
Vamshi