# Email forms HELP PLEASE!

**URL:** https://forum.kirupa.com/t/email-forms-help-please/20372
**Category:** Uncategorized
**Created:** [May 8, 2003, 2:02am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372 "2003-05-08T02:02:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![barge](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@barge](https://forum.kirupa.com/u/barge)
#### Post date: [May 8, 2003, 2:02am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372/1 "2003-05-08T02:02:15Z")

</div>

I made a simple email form in flash. I want it to where there can be more than one input textbox that puts the text into the body of an email. i used the following code on the send button.

“mailto:” +recipient+ “?subject=” +subject+ “&body=” +body

i want the text from a few input boxes to all go into the body of the email. I have messed around with the script but nothing. help would be good thanks

---

<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: [May 8, 2003, 8:34am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372/2 "2003-05-08T08:34:27Z")

</div>

i think that you must work with a servers side script like asp or php to do this. with flash you can only open outlook

---

<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: [May 8, 2003, 8:41am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372/3 "2003-05-08T08:41:24Z")

</div>

thanks

---

<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: [May 8, 2003, 8:51am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372/4 "2003-05-08T08:51:21Z")

</div>

:nerd:

This is possible.

For example, you have several input boxes that you want to be included in the body of the email.

These have the variable names of ‘FIRSTNAME’, “SURNAME” and “AGE”.

To assign these to the ‘BODY’ variable you simply do it in actionscript before the call to Outlook.

body = firstname + surname + age;  
(You may have to play with the formatting for this)

Hope this helps.

---

<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: [May 8, 2003, 9:07am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372/5 "2003-05-08T09:07:57Z")

</div>

but when you work with mailto, it wil open outlook or i’m wrong?

---

<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: [May 8, 2003, 9:53am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372/6 "2003-05-08T09:53:22Z")

</div>

youire right, what you have to do is use a cgi, php mailTo script or any odd language to send the variables to…

---

<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: [May 9, 2003, 1:03am UTC](https://forum.kirupa.com/t/email-forms-help-please/20372/7 "2003-05-09T01:03:32Z")

</div>

But the original question doesn’t mention using server side technolgoy.

It says that what to amalgamate textfields to put into an email.  
This doesn’t involved Server Side.

But by making BODY a variable you can then use MAILTO to open outlook and populate the body with text.

I agree you would need to if it were a form and you wanted FLASH to send an email itself but I don’t think that is the actual question.
