I have scoured the internet looking for an answer to this problem. I could really use some help. My Flash form works perfectly on every other browser but doesnt work on Chrome. When tested on my home computer it works occasionally (maybe one out of 3 times) but from G.A. I can see that a number of people have filled it out and I never received the email. Chrome is the only thing they all have in common.
My action script code is:
var my_vars:URLVariables = new URLVariables();
my_vars.senderName = name_txt.text;
my_vars.senderEmail = email_txt.text;
my_vars.senderMsg = zip_txt.text;
my_vars.senderNumber = number_txt.text;
var my_url:URLRequest = new URLRequest("mail.php");
my_url.method = URLRequestMethod.POST;
my_url.data = my_vars;
var my_loader:URLLoader = new URLLoader();
my_loader.dataFormat = URLLoaderDataFormat.VARIABLES;
then it sends them to a thank you page.
My php code is:
$to = "firstname.lastname@example.org";
$subject = ($_REQUEST['senderName']);
$message = ($_REQUEST['senderMsg']);
$number = ($_REQUEST['senderNumber']);
$message .= "\n\n---------------------------\n";
$message .= "E-mail Sent From: " . $_REQUEST['senderName'] . " <" . $_REQUEST['senderNumber'] ." <" . $_REQUEST['senderEmail'] . ">\n";
$headers = "From: " . $_REQUEST['senderName'] . " <" . $_REQUEST['senderEmail'] . ">\n";
if (mail($to, $subject, $message, $headers))
If anyone has a suggestion on how to make this work with Chrome as well I would appreciate it.