November 3, 2019
Emailing from inside captivate 2019
Like
(3)
Comments
(2)
3
2
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….