Running this script does not send email’s
<?php
$to = “someone(at)example.com”;
$subject = “Test mail”;
$message = “Hello! This is a simple email message.”;
$from = “someonelse(at)example.com”;
$headers = “From: $from”;
mail($to,$subject,$message,$headers);
echo “Mail Sent.”;
?>
I can send directly from the Sendmail server fine.
Server is CentOs 5.5 Apache 2.2.3 PHP 5.1.6