PDA

View Full Version : No error but no email received either. (Email Form Using PHP)



dadang
June 10th, 2006, 06:10 PM
I'm using Kirupa Flash-Based Email Form Using PHP Tutorial. http://www.kirupa.com/developer/actionscript/flash_php_email.htm

I downloaded the source code file because I couldn't get my file to send me the email so I thought I had messed up somewhere, but the original file doesn't work either. The only thing I changed from the originaly file was the $sendTo = example@hotmail.com (example@hotmail.com); to my real email address. I don't get any errors when i run the swf. I just don't get the email.

I know the webserver i'm using does support PHP 5

Any suggestions/clues?????

SlowRoasted
June 10th, 2006, 07:27 PM
May not have smtp on the server, or the ini is not set right.

bwh2
June 10th, 2006, 07:28 PM
try changing

mail($sendTo, $subject, $message, $headers);
to

mail($sendTo, $subject, $message, $headers) or die('Error sending e-mail');

dadang
June 10th, 2006, 10:09 PM
May not have smtp on the server, or the ini is not set right.

How would I setup the ini?