Opening New Outlook Email by Clicking a link in Email Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 01:12 AM
Hello All,
I have a requirement of opening a new Outlook email window from a link in email notification.
In detail the scenario is- After creating an Emergency Change When i am clicking the requesting approval button approvals are going to the members of assignment group i have given.The approval request notification is:
When i will click the click here to ask requester link it will open a new outlook email window with the change requester as the recipient and a particular group say 'abc@example.com' in "cc".
However i am able to generate new outlook window but not able to populate the change requester and the group name in "cc".
Thanks in advance for any help.
Thanks,
Jhilik
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 01:21 AM
Hi June,
Please find the below thread.
gs.setRedirect("mailto:user@example.com?subject=Subject&body=message%20goes%20here");
Hit like, Helpful or Correct depending on the impact of the response...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 03:22 AM
Hi ,
You have to write a mail script to populate those values.
Example mail script:
var link="mailto:youremail@example.com&cc=secondemail@example.com;thirdemail@example.com";
var url = '<a href="' + link + '"> kk</a>';
template.print(url);
Here the part highlighted in bold will be passed to cc .
So you can use this as an example and pass group email and user email to replace sample email ids .
You can use few variables to make email ids dynamic as well.
Regards,
Adarsha
