# Help! Set email body content with mailto:

**URL:** https://forum.kirupa.com/t/help-set-email-body-content-with-mailto/157704
**Category:** flash
**Created:** [August 3, 2005, 8:00pm UTC](https://forum.kirupa.com/t/help-set-email-body-content-with-mailto/157704 "2005-08-03T20:00:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![leahgrace](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@leahgrace](https://forum.kirupa.com/u/leahgrace)
#### Post date: [August 3, 2005, 8:00pm UTC](https://forum.kirupa.com/t/help-set-email-body-content-with-mailto/157704/1 "2005-08-03T20:00:23Z")

</div>

I’m using getURL(mailto:) to open up the user’s default mail client and I know how to set the email subject and body, but what I dont’ know how to do is make a link in the body content.

I want the body content to say:

“Click here to see my drawing”

with “Click here” as the link to the drawing.

All I’ve been able to do is set static text in the body content, how do I make a link?

Here’s my code:

```auto
 
send_btn.onRelease = function () {
 subject= escape(yourName+" has shared their artwork with you!")
 linkText.html=true;
 linkText.htmlText="<a href='http://www.newyorklife.com'>Click here</a>";
 body = escape(linkText+" to see my drawing");
 getURL("<A href="mailto:"+sendThis+"?subject="+subject+"&body="+body">mailto:"+sendThis+"?subject="+subject+"&body="+body);
} 

```

I’ve tried various things with the body variable, but all I get is either plain text, “undefined”, or nothing.

Please tell me how to do this!!! Thanks!:hugegrin:
