Php's Mail Function Return Values:
Returns TRUE if the mail was successfully accepted for delivery,
FALSE otherwise.
It is important to note that just because the mail was accepted for
delivery, it does NOT mean the mail will actually reach the intended
destination.
Essentially, you mail function is failing.
First, check if you can send a test mail on the server. If you can't the server settings are not configured to use email.
Try and call a really simple, hard-coded mail()
.
If it is still failing, then it's 99% your server set up. Check your php.ini
settings, and make sure your server can support sending out emails.