mail() returned failure
This error is thrown by PHP mail when:
Send a support request to your hosting service and ask checking whether PHP mail is configured. Most hosting services would immediately replay saying everything is set up right. Some times we have to prove that it is not.
To test whether PHP mail is configured right, download this sendmail.zip , unzip it, and open the file samplemail.php in a text editor. It is a simple PHP file that sends an email. Edit the email address and set it to your email address. Save and upload samplemail.php to your website and visit the link (like http://yourwebsite.com/sendmail.php ). If it is not sending a sample email, PHP email is not configured. You can follow up your support request with alink to the sendmail.php script and ask them why it is not sending email.
If you need further help, submit this form.