Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Opening New Outlook Email by Clicking a link in Email Notification

june1994
Kilo Explorer

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:

find_real_file.png

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  

2 REPLIES 2

Abhineet Singh
Tera Expert

Hi June,

Please find the below thread.

From Client Script

gs.setRedirect("mailto:user@example.com?subject=Subject&body=message%20goes%20here");

From UI Action

kkadarsha
Giga Contributor

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