I am trying to do what seems like a simple email from flash using PHP. I have a bunch of text fields, the send button checks to see if everything has been filled out and then goes to a PHP script to actually send the email.
Everything works until I hit "send" and then it just seems not to communicate with the script. The email status doesn't change and no email is sent.This is the code I have right now:
What do you think? It's in the same directory as the swf running the code.Code:<? $ToEmail = "[email protected]"; $ToName = "Creative Director, Joel Marsh"; $ToSubject = "Website Inquiry"; $EmailBody = "Sent By: $FormName\nSenders Email: $FormEmail\nSenders FormSite: $Company\n\n Message Sent:\n$FormComments\n\n"; $EmailFooter="\nThis message was sent by: $FormName .\n If you feel that you recieved this e-mail by accident please contact us at www.TheHipperElement.com"; $Message = $EmailBody.$EmailFooter; mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FirstName." <".$Email.">"); Print "_level0.EmailStatus='Thank You.'"; ?>
Thanks.




Reply With Quote