# Form E-Mail within FlashMX

**URL:** https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783
**Category:** flash
**Created:** [June 8, 2003, 8:52pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783 "2003-06-08T20:52:31Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![awarlock](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@awarlock](https://forum.kirupa.com/u/awarlock)
#### Post date: [June 8, 2003, 8:52pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783/1 "2003-06-08T20:52:31Z")

</div>

I have an FLA file that has forms with variables and stuff.  
It also has a script to validate the forms are all filled in.  
But umm…how do i make the button work?  
How do i make this Email to "awarlock@bigfoot.com" when you click SUBMIT.

Pls see the FLA. it is very small.

---

<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: [June 8, 2003, 9:05pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783/2 "2003-06-08T21:05:27Z")

</div>

You’ll also need a server side script like PHP to send the info to your email. Run a search on form mail in this section or the MX section and you should find what you need.

---

<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: [June 8, 2003, 9:15pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783/3 "2003-06-08T21:15:09Z")

</div>

no i dont want to use external files.  
I know its possible to do within flash mx using the GETURL mailto function.

---

<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: [June 8, 2003, 9:17pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783/4 "2003-06-08T21:17:23Z")

</div>

All that does is it opens the user’s default email program and they will have to fill out the info on their email still. It’s not going to send the info on your form to you.

EDIT:  
This is what you’re talking about, try it and you’ll see what I mean.[AS]on (release) {  
getURL("mailto:youremail@email.com");  
}  
[/AS]

To send the info from your form, you’ll need a server side script.

---

<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: [June 8, 2003, 9:39pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783/5 "2003-06-08T21:39:27Z")

</div>

no man u can do stuff like add variables to send with it.  
its something like mailto add ‘name’ add’subject  
i dunno…

---

<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: [June 8, 2003, 9:43pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783/6 "2003-06-08T21:43:01Z")

</div>

I know you can add a subject to the email, but I’ve never seen anything that would fill out the entire email for you…

If there is such a thing, then I’ve never seen it…

---

<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: [June 8, 2003, 10:39pm UTC](https://forum.kirupa.com/t/form-e-mail-within-flashmx/22783/7 "2003-06-08T22:39:15Z")

</div>

it won’t sent the mail for you. It just opens up the users default e-mail program (usually outlook express) and it puts the variables into the e-mail. Its using getURL()

getURL("mailto:somewhere@somewhere.com?subject=Subject&body=Hello")

something like that. But the e-mail won’t be sent automatically.
