Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-30-2005, 03:21 PM   #1
cdsouza
Registered User
 
Join Date: Sep 2005
Posts: 2
Default Flash MX V6 and email some text

Hi,

I have 3 fields ie, name, subject and comments that I am trying to get emailed to me via a submit button. Don't know how to go about doing it with the getUrl and mailto...

Flash MX v6.0

Help.

Chris
cdsouza is offline   Reply With Quote
Old 09-30-2005, 04:47 PM   #2
Cota
Super Moderator
 
Cota's Avatar
 
Join Date: Jul 2001
Location: NYC
Posts: 10,175
Default

Check this out:
http://www.actionscript.org/forums/s...d.php3?t=60228
__________________
Color Wars™ | (kul′ər wôrs) n. - Open conflict between factions. www.theColorWars.com

cota - www.chadworkman.com | http://shavedplatypus.com
occupation: designer | flash developer | server-side developer (php, asp, mssql, mysql)
Cota is offline   Reply With Quote
Old 09-30-2005, 05:21 PM   #3
cdsouza
Registered User
 
Join Date: Sep 2005
Posts: 2
Default

Thanks.

Unfortunately I DO NOT want it to open any email program. Is there anyway to send the info without openeing the users default email program ??

HELP.

Chris
cdsouza is offline   Reply With Quote
Old 09-30-2005, 05:50 PM   #4
Cota
Super Moderator
 
Cota's Avatar
 
Join Date: Jul 2001
Location: NYC
Posts: 10,175
Default

You could use a server side email. Flash would send the info to a server side script which would in turn send the email. PHP, ASP, and PERL are a few that will allow it. Here is a tutorial using PHP
http://www.actionscript.org/tutorial...il/index.shtml
__________________
Color Wars™ | (kul′ər wôrs) n. - Open conflict between factions. www.theColorWars.com

cota - www.chadworkman.com | http://shavedplatypus.com
occupation: designer | flash developer | server-side developer (php, asp, mssql, mysql)
Cota is offline   Reply With Quote
Old 10-01-2005, 12:24 AM   #5
biodegradable
Need a Webdesigner?
 
Join Date: Sep 2005
Location: USA, Washington
Posts: 36
Send a message via AIM to biodegradable Send a message via MSN to biodegradable
Default

I can sell you an Advanced Contact Script that includes fully working Form that can submit any info to any e-mail you want and a reply e-mail to the person who is filling out the application. Fully customized to your liking (e.g. color, animation, style, and design plus any amount of information you what to be filled out) for very cheap. Great deal! Consider it. Or you can spend countless hours trying to figure out complicated php and actionscript, when you are losing customers and or money that you could be making off of this advanced script, and I will even install it for free and give you unlimited technical support for FREE! Think about it the choice is simple.

-Jonathan Stanton
-Web design / Maintenance
-Xeond.com "Always Here For You."

Last edited by biodegradable; 10-01-2005 at 12:49 AM.
biodegradable is offline   Reply With Quote
Old 10-02-2005, 05:43 AM   #6
cybered
Registered User
 
cybered's Avatar
 
Join Date: Sep 2005
Posts: 3
Default

Hi there, I hope this will help. It works with PHP.
I have add the button script and the php code to be save aswell and up loaded to your server.

-------------------

Code:
on (release) {
    loadVariables("email.php",'POST');
    javascript('alert("Thank you for contacting us.");');
}
-------------------

<!-- This is the PHP code, so save it in a txt editor as emil.php -->


PHP Code:
<?php
$name 
$_POST['Name'];
$email $_POST['Email'];
$message $_POST['Message'];

$name stripslashes($name);
$email stripslashes($email);
$message stripslashes($message);

$rec_email "[email protected]";
$subject "Online form submission";

$msg_body .= "Name:  $name\n\n";
$msg_body .= "E-Mail:  $email\n\n";
$msg_body .= "Comments:  $message\n\n";
mail($rec_email$subject$msg_body);
?>
-------------------
cybered is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:22 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.