Hi Experts,
Now, I am developing a website and mail service on PHPÂ language. I am looking for PHP mail script for reservation. I have use many scripts but always failure notice. Please help me for PHP mail script for reservation and suggest the proper solution,Thanks. Â Â Â Â Â Â Â Â Â Â Â Â
Regards,
Matthew Ohammer
Php mail script for reservation
Hello Matthew,
If you are constantly getting the failure notice error when developing your website using the PHP language then it is probably due to some errors in the code that you are using. I will therefore suggest that you manually go through the code to identify any errors and remove them.
Regards,
Nicke
Php mail script for reservation
Hi,
There can be two reasons for not working your mail script. One is you may going wrong in your PHP code. Below is a basic PHP mail code use to create mails.
<?php
$to = "[email protected]";
$subject = "php test mail";
$message = "This is a simple email message.";
$from = "[email protected]";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
Second one is your mail server configuration setting. Please check twice whether you have give permission to grant and send mails through your mail server.