# What the hell am i doing wrong?

**URL:** https://forum.kirupa.com/t/what-the-hell-am-i-doing-wrong/140322
**Category:** Uncategorized
**Created:** [March 10, 2005, 3:30am UTC](https://forum.kirupa.com/t/what-the-hell-am-i-doing-wrong/140322 "2005-03-10T03:30:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![inVZbl](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/invzbl/32/309_2.png) [@inVZbl](https://forum.kirupa.com/u/inVZbl)
#### Post date: [March 10, 2005, 3:30am UTC](https://forum.kirupa.com/t/what-the-hell-am-i-doing-wrong/140322/1 "2005-03-10T03:30:58Z")

</div>

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…
