Generating email reply on clicking a link in the email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2015 02:12 PM
Is it possible to click a link in the email sent to the user by ServiceNow, that generates the reply and the user just has to click send? I have a scenario where some action has to be performed based on user's reply and I want to force the reply instead of user typing it in. Also the ServiceNow instance I am using is internal to the company, will authentication be required if I go this route?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2015 01:38 PM
HI Doug,
Can we respond to the email notification through a link in the email sent to us. I mean clicking the link in the email notification we received, will open up a email and we can respond to that?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2015 01:48 PM
yes sir.. in the mail i quoted..
<mail_script>
template.print("<a href='mailto:[your instances email address]?subject=Re:${sysapproval}%20-%20unsatisfied&body=${watermark}'> Click here if your issue was not properly resolved ${sysapproval}</a>");
the a ref makes it a link.. and the mailto makes it open an email...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2015 01:52 PM
Yes, can we make the instance email address, subject to auto populate by checking/configuration, like not by specifying the email address but dynamically?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2015 02:01 PM
sure in the mail script add a line
var email = gs.getProperty('instance_name');
now you have to look at the property for your intstance name and use string manipulation to make it match the email address using .replace etc so you have what you want.. then you put in...
template.print("<a href='mailto:" + email + "@yourdomain.com?subject=....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2015 08:01 AM
Thanks Doug, I did use
<mail_script>
template.print('<a href="mailto:' + gs.getProperty("glide.email.user") +'?subject=' + 'RE:' + current.number + 'Feedback' + '&body=' + email.watermark + '">' Click here to provide feedback'</a>');
</mail_script>
But it does not show up anything on the email notification
Any suggestions?