Im using a mailto link to send some results from a quiz (unfortunatly we dont have server where i could run a sendmail type script). The bloody thing works when not embedded into html, but when it is embedded into html, it decides not to work.
Here is the code:
on (release) {
email = "me@myisp.net";
subject = “Passed the IBM - Telstra Privacy Assessment”;
body = (“I have completed and passed the IBM - Telstra Privacy Assessment.%0D%0A %0D%0AFirst Name: “+firstname+”. %0D%0ALast Name: “+lastname+”. %0D%0ASerial Number: “+serial+”.%0D%0A”);
getURL(“mailto:”+email+"?subject="+subject+"&body="+body);
//getURL("mailto:whoever@whereever.com");
}
Without the body variable above, the code works in html. Ive tried to add [after the ( in the body variable and that didnt work at all.
I just cant get my head around it…