I have sendmail installed and the path to it in the php.ini is correct, when i try a file just containing the mail() function (no errors in that!) it starts sendmail but nothing gets sent!
root 22508 0.0 0.2 3556 1520 pts/2 S 20:09 0:00 php test.php smmsp 22509 0.0 0.2 3416 1440 pts/2 S 20:09 0:00 /usr/sbin/sendmail -t -i help!