Published by exdone
Posted on January 31, 2008
If you are getting the following error when trying to reset your password:
The e-mail could not be sentPossible reason: your host may have disabled the mail() function...
You will need to setup a email box for word press to use let’s call it email@example.com and set this in the options within the admin panel .
The above should fix it . if it does not read on
Next you will need to adjust your php.ini file to match the following
sendmail_path = /usr/sbin/sendmail -t -i ;
If all else fails you can add this piece of code to your httpd.conf virtual containter .. you will need root access to the server to perform this or ask your host
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f firstname.lastname@example.org"
This will resolve the error on a linux server