I have php5 and qmail installed. In php.ini I have configured
sendmail_path = /var/lib/qmail/bin/sendmail
(the path is correct)
However when I am trying to execute the script
<?php
mail('[email protected]', 'Test sendmail', 'Body', 'From: [email protected]');
nothing happens, no emails are sent and nothing in the qmail SMTP log (I am getting the logs for any other SMTP activity). Therefore I assume that either PHP is not sending email or somehow I have misconfigured PHP mail. Please advise.