2 Replies
Anna Michael

I found that earlier, but following (or working based on) those examples hasn't worked out for me. My most recent try is below:

var player = GetPlayer();
var email = player.GetVar('UserEmail');
var subject = 'Certificate of Course Completion';
var emailBody = 'The recipient of this email has completed ' + CourseName + '. ' +'Sent from ' + PageNumber + '.';

var mailto_link = 'mailto:' + email + '?subject=' + subject + '&body=' + encodeURIComponent(emailBody);

win = window.open(mailto_link, 'emailWin');