# Sending Variables to an email URL!

**URL:** <https://forum.kirupa.com/t/sending-variables-to-an-email-url/8720>\
**Category:** flash\
**Created:** [November 27, 2002, 3:58am UTC](https://forum.kirupa.com/t/sending-variables-to-an-email-url/8720 "2002-11-27T03:58:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Graham\_Conway](https://avatars.discourse-cdn.com/v4/letter/g/49beb7/32.png) [@Graham\_Conway](https://forum.kirupa.com/u/Graham_Conway)\
**Post date:** [November 27, 2002, 3:58am UTC](https://forum.kirupa.com/t/sending-variables-to-an-email-url/8720/1 "2002-11-27T03:58:52Z")

</div>

I wish to post Variable Data from a Flash form to an email address. The whole Form is a loaded level 1 in the main SWF site in a HTML Page, so everything is flash, and all I want to do is send the Variables to an email address, I can do this fine via HTML but wish to send the Variables from a locked off Flash file.

I have created the fields etc, Send and Append buttons, the Append But has the name of the Variables that are then set to a:

on (release) {  
Name = “”;  
}

Name being Name of the Field.

The Send button then has the Code…

on (release) {  
loadVariables("mailto:graham@amadesign.com", “0”, “GET”);  
}

Level 0 being the root.

When I try this no errors come back and have tried to upload the page to our server, but nothing happens, What am I doing wrong???

Thanks to anyone who can help, I was given some info from H88 being

: getURL(“mailto:“sRecepient”?subject=”+sSubject+"&body="+sBody);

If say I hand only the Name text Field which called “Name”, where does that sit, and can some break the line above down for me…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 28, 2002, 12:06am UTC](https://forum.kirupa.com/t/sending-variables-to-an-email-url/8720/2 "2002-11-28T00:06:26Z")

</div>

Oh well, ur the one who contacted me through ICQ, anyways, u can’t use LoadVariables to do that, let me c ur fla.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 28, 2002, 2:51am UTC](https://forum.kirupa.com/t/sending-variables-to-an-email-url/8720/3 "2002-11-28T02:51:23Z")

</div>

Okay, plz stop sending me emails, here is what u want, assuming ur using Flash MX:

Check the attachment and **Reply** here if u founded it useful!

yours,  
h88

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 28, 2002, 4:52am UTC](https://forum.kirupa.com/t/sending-variables-to-an-email-url/8720/4 "2002-11-28T04:52:14Z")

</div>

Yo H88, thanks for that, very useful Dude, is there a way though U can get this to work without pulling Up an email Programme, so it just post the Data  
from flash to the URL so they then receive it via an email.

Dude Thankyou!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 28, 2002, 3:52pm UTC](https://forum.kirupa.com/t/sending-variables-to-an-email-url/8720/5 "2002-11-28T15:52:00Z")

</div>

Offcourse, search for php script here: [[link](http://www.kirupaforum.com/search.php?s=)]

Its a better way, but u would need a PHP enabled host.
