Sending to more than one email recipent (fixed and variable)

Apr 01, 2016

At the beginning of my course the user enters on a Storyline slide their email address and managers email address. These variables are then used at the end of the course to send confirmation they have completed it.

However I also need to include a fixed email address myname@mycompany.org - Any ideas what I need to add where? I've tried all sorts to no avail..

Using some code posted amongst the E-Learning heroes discussions I have this so far which works perfectly:

var player = GetPlayer()
var email=player.GetVar("YourEmail");
var CcAddress=player.GetVar("ManagerEmail");
var subject=("XX Course");
var body_start="This is to confirm that: "+player.GetVar("YourName")+"%0d%0A%0d%0Ahas completed the XX Course";
var mailto_link='mailto:'+email+'?cc='+CcAddress+' & subject='+subject+'&body='+body_start;
win=window.open(mailto_link,'emailWin');

 

3 Replies

This discussion is closed. You can start a new discussion or contact Articulate Support.