Hi to all ,
I have this strange thing , the PHP mail function dont send emails .
I tested it with a simple script :
<?php
$mailTo = "[email protected]";
$msgSubject = "TEST";
$msgBody = "$name, $company, $address, $email_address, $demographics";
$xHeaders = "From: $email_address\nX-Mailer: PHP/" . phpversion();
mail ($mailTo, $msgSubject, $msgBody, $xHeaders);
?>
The code dont produce erorrs but also the email doesnt arrive .
Iv also rebuilted PHP last week in case someone will suggest that .
Thanks for any help .
I have this strange thing , the PHP mail function dont send emails .
I tested it with a simple script :
<?php
$mailTo = "[email protected]";
$msgSubject = "TEST";
$msgBody = "$name, $company, $address, $email_address, $demographics";
$xHeaders = "From: $email_address\nX-Mailer: PHP/" . phpversion();
mail ($mailTo, $msgSubject, $msgBody, $xHeaders);
?>
The code dont produce erorrs but also the email doesnt arrive .
Iv also rebuilted PHP last week in case someone will suggest that .
Thanks for any help .