How can i send the result page with score, content and image via Email?

Hi,

I am working on a project. In this project i want to send the result page content with score, content and image via Email.

I am using this code for send the score via email, Can anyone check this code is that correct because when i use this code this code is not working.

var email=”email id”;
var player = GetPlayer();
var subject=”Results”;
var body_start=player.GetVar(“finalScore”);
body_text = body_start;
var mailto_link=’mailto:’+email+’?subject=’+subject
+’&body=’+body_text;
win=window.open(mailto_link,’emailWin’);

 

Thanks,

Vishal Agarwal

1 Reply