How to send an email just by clicking on the hyperlink in a received email?

yogesh15dd
Tera Guru

hi,

As soon as i click on a hyperlink which is there in an email received from Service Now , it should send an email to one more email address.

I wrote the following in the email script, when i click on the hyperlink "Send email" , it opens an email sending pop up box, where i have to click on "Send" button again.

var mailLink = '<a href="mailto:myinstance@service-now.com?subject= Re:&body=">Send email</a>';

template.print(mailLink);

any idea how to do this?

Regards

Yogish

1 ACCEPTED SOLUTION

Hi Yogesh,



Processors would be a great way to do it. That would be a   good use case for them. Don't forget to check your ACLs. The type field has a specific choice for securing processors.



Check Episode 19 of TechNow: Let's Process the Power of Processors | TechNow Live Expert Chat


Processors


View solution in original post

15 REPLIES 15

yogesh15dd
Tera Guru

Chuck, any idea on this?



ctomasi


That is how the HTML mailto links work. They don't automatically send the message on a single click.



That being said,what is it you are trying to do with this email? It seems like a direct link to a public UI page on the instance might be more effective.


You might be interested in this thread from a week ago.



Single click on email link to accept/reject a record


Thanks Chuck.



Please refer the image below for my requirements.



Below is the email what stock room managers will be receiving and they would like to perform the given actions in the mail.



Fonts in orange color are the actual requirements.



find_real_file.png



For 1,2,3   and 4 i'm thinking of triggering an email to Service now when they click the 'Link', so that using inbound actions i can execute further actions.



please suggest your thoughts.



Thanks


Yogesh