Passign Variable to Email Client

Jun 19, 2013

I am trying to pass a variable to the email client via the following js

var player = GetPlayer();
var email = player.GetVar("ManagerEmail");
var subject="subject line";

var body_start="How you want to begin your body.";
var mailto_link='mailto:'+email+'?subject='+subject+'&body='+body_start;
win=window.open(mailto_link,'emailWin');

This did not work unless I replace teh player.GetVar("ManagerEmail") with text. Someone had a similar problem in another post and it was suggested to use different variable names in js and sl. I am using different names but still have the problem. Any one has idea of how to solve this issue?

here is the other post I mentioned.

http://community.articulate.com/forums/p/29499/173764.aspx?mod=True#173764

Regards,

1 Reply

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