Php mail script for reservation

Asked By 0 points N/A Posted on -
qa-featured

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

SHARE
Best Answer by Austin kelley
Answered By 0 points N/A #167038

Php mail script for reservation

qa-featured

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

Best Answer
Best Answer
Answered By 10 points N/A #167039

Php mail script for reservation

qa-featured

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.

Related Questions