scottjk Posted September 23, 2007 Share Posted September 23, 2007 I'm having problems getting a mail processing script working. Here is my flash script to gather variables along with the php scrip. on (rollOver) { this.gotoAndPlay("over"); } on (releaseOutside, rollOut) { this.gotoAndPlay("out"); } on (release) { if (_root.pgapp.pages1.page11.name1 == "Name" || _root.pgapp.pages1.page11.attend == "Attend" || _root.pgapp.pages1.page11.guests == "Guests" || _root.pgapp.pages1.page11.email == "Email" || _root.pgapp.pages1.page11.message1 == "Message" || _root.pgapp.pages1.page11.name1 == "" || _root.pgapp.pages1.page11.email == "" || _root.pgapp.pages1.page11.number == "" || _root.pgapp.pages1.page11.subject == "" || _root.pgapp.pages1.page11.message1 == "") { _parent.gotoAndStop(3); } else { _parent.loadVariables("processEmail.php", "POST"); _parent.gotoAndStop(2); } } Here is the PHP script: <?php $name1=$_POST['name1']; $attend=$_POST['attend']; $guests=$_POST['guests']; $email=$_POST['email']; $message1=$_POST['message1']; $name1=trim($name1); $email=trim($email); $toaddress='none@none.com'; mail($toaddress,$attend,$guests,$message1,"From: $name1 <$email>\r\nReply-To: $email\r\nReturn-Path: $email\r\n"); ?> Any help would be appreciated. Scott Quote Link to comment https://forums.phpfreaks.com/topic/70363-email-process-flash-variables-integration/ Share on other sites More sharing options...
BlueSkyIS Posted September 23, 2007 Share Posted September 23, 2007 What is the error, if any? you appear to have too many arguments in the call to mail() Quote Link to comment https://forums.phpfreaks.com/topic/70363-email-process-flash-variables-integration/#findComment-353459 Share on other sites More sharing options...
scottjk Posted September 23, 2007 Author Share Posted September 23, 2007 I'm new to PHP/Flash. I'm using a template and previous work. I'm not getting an error message, I'm just not getting the reply email with information. Scott Quote Link to comment https://forums.phpfreaks.com/topic/70363-email-process-flash-variables-integration/#findComment-353479 Share on other sites More sharing options...
BlueSkyIS Posted September 23, 2007 Share Posted September 23, 2007 Repeat: you appear to have too many arguments in the call to mail() Quote Link to comment https://forums.phpfreaks.com/topic/70363-email-process-flash-variables-integration/#findComment-353488 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.