i've been trying to get this snowmail figured out for the longest now.
yes my server php version is 4.3.0
and all of my php scripts work fine except for this and i can't figure out why. ???
i was using the old snowmail php script that didn't send mail at at because it got stuck at the part where it says, "Sending... one Moment .. or two.. sometimes it's faster then other times"
i've erased that script and placed the revised version of jeff's snowmail php script.
now it's says it sends mail but i don't receive anything.
this is the php code i'm using:
// A revised version of the old snowMailPHP.php from Flash-db.
$Email = $HTTP_POST_VARS["Email"];
$FirstName = $HTTP_POST_VARS["FirstName"];
$ToEmail = $HTTP_POST_VARS["ToEmail"];
$ToName = $HTTP_POST_VARS["ToName"];
$Company = $HTTP_POST_VARS["Company"];
$ToComments = $HTTP_POST_VARS["ToComments"];
$HearAbout = $HTTP_POST_VARS["HearAbout"];
// The subject of your email.
$ToSubject = "Example Mail from SendMail Tutorial";
// This is a sample message. The \n's are line breaks. You can alter this message anyway you want. It will be the main body of your email.
$Message = "Sent By: $FirstName\nSenders Email: $Email\nSenders Company: $Company\n\nMessage Sent:\n$ToComments\n\nSender Heard About Site From: $HearAbout\n";
// This line actually sends the mail. For more information on this please visit:
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FirstName." <".$Email.">");
// Make sure to surround Name/Value pairs sent back to flash with &'s. This is how flash seperates different, Name/Value pairs from text/scripts into Flash variables.
Print "&_root.Mail.EmailStatus=Complete - Your mail has been sent&";
all of the variables in the flash movie are correct.
also when i use this mail php script:
", "test mail", "this is a test");
i get mail no problem
please help me!
thanks in advance