PDA

View Full Version : Form E-Mail within FlashMX



awarlock
June 8th, 2003, 04:52 PM
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.

eyeinfinitude
June 8th, 2003, 05:05 PM
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.

awarlock
June 8th, 2003, 05:15 PM
no i dont want to use external files.
I know its possible to do within flash mx using the GETURL mailto function.

eyeinfinitude
June 8th, 2003, 05:17 PM
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.on (release) {
getURL("mailto:youremail@email.com");
}


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

awarlock
June 8th, 2003, 05:39 PM
no man u can do stuff like add variables to send with it.
its something like mailto add 'name' add'subject
i dunno...

eyeinfinitude
June 8th, 2003, 05:43 PM
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....

Jubba
June 8th, 2003, 06:39 PM
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.