June 26, 2024

Emailing from inside captivate 2019

Author: iane34058141
Go to Source

Hi Guys,

I need to send an email from inside captivate 2019 with my user variables in the email. This is what i tried but does not seem to work (I attached the code to a button):

var player = GetPlayer();
var course=”Storyline test course”
var email=player.GetVar(“my_email@abc.com”);
var subject=”Assessment Complete”;
var body_start=”I’ve just completed my assessment!”;
var mailto_link=’mailto:’+email+’?subject=’+subject+’&body=’+body_start;
win=window.open(mailto_link,’emailWin’);

Please help thanks in advance….

The post Emailing from inside captivate 2019 appeared first on eLearning.

Read more