I checked the path, it was blank, so I quickly set it. I restarted apache and this did not fix it. I also tried with some params and that did not work either.
sendmail_path="/usr/sbin/sendmail -t -i -OQueueDirectory=/var/spool/mqueue/"
Next, I setup a simple script to test for a value returned by mail().
<?PHP
$val = mail("xxxx@xxxx.com","Subject","Body");
print "V: $val\n";
?>
$val returned nothing (blank), not a 0. If run from the command line:
#!/usr/local/php/bin/php
<?PHP
$val = mail("xxxx@xxxx.com","Subject","Body");
print "V: $val\n";
?>
It returns a 1, and I get the mail. I also ran mailq right after running the web page version and it showed 0 in the queue.
root@mail# mailq
/var/spool/mqueue is empty
Total requests: 0
Any other ideas for me?
Thanks a bunch for the suggestions so far.
John