How to show the email id as hyperlink in email script

smaitra
Kilo Contributor

Hello All,

I am trying to create an email notification which has an email id.

E.g.

Hello User,

Your incident is resolved.  Please write to abv@example.com for any queries. 

Thanks 

It team,

I want to make the email id like a hyperlink so that user can click to send email to the id using email app like outlook. 

Thanks 

Shambo Maitra 

1 ACCEPTED SOLUTION

Abhijit4
Mega Sage

In your email script, you can try something like below,

template.print("Your incident is resolved.  Please write to<a href='mailto:reciepient@example.com'>reciepient@example.com</a> for any queries.");

Let me know if you have any further queries.

Please mark this as Correct or Helpful if it helps.

Thanks and Regards,
Abhijit
Community Rising Star 2022

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP

View solution in original post

5 REPLIES 5

Alok Gupta5
Tera Guru
Tera Guru

Hello Shambo,

You can write an email script for that and use that in the notification.

Regards,

Alok Gupta

Hi Alok, I tried that. I am trying to find correct syntax. Thanks Shambo Maitra

Community Alums
Not applicable

Hi @smaitra ,

Just click on the "Insert/Edit link" command and set the URL with the code provided and the Text to "ITSupport" ( Email address in your case)(see below):

find_real_file.png

Abhijit4
Mega Sage

In your email script, you can try something like below,

template.print("Your incident is resolved.  Please write to<a href='mailto:reciepient@example.com'>reciepient@example.com</a> for any queries.");

Let me know if you have any further queries.

Please mark this as Correct or Helpful if it helps.

Thanks and Regards,
Abhijit
Community Rising Star 2022

By marking my response as correct or helpful, you contribute to helping future readers with similar issues.
Regards,
Abhijit
ServiceNow MVP