I was testing out the tutorial from Kirupa on my website but for some reason it doesn’t work.
I even tried using the Source I downloaded(using the default swf/php) and uploading it to my website just to see if I would get an e-mail but I received none. The files plays fine and when I click on the send button it would say “Thank You, your e-mail have been received”. But again I get nothing in my inbox. I changed the e-mail in the PHP to my e-mail in case you were wondering if I didn’t.
My Website supports PHP 4.3.1/5.0 also.
So I am at a lost on why I am I not receiving anything from the command.
Please Help.
The PHP file looked something like this.
<?php
$sendTo = "hoaivyp@yahoo.com";
$subject = “My Flash site reply”;
$headers = “From: " . $_POST[“firstName”] .” “. $_POST[“lastname”] . “<” . $_POST[“email”] .”>
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-path: " . $_POST[“email”];
$message = $_POST[“message”];
mail($sendTo, $subject, $message, $headers);
?>