i have intsalled wordpress in my localhost and i want to change my passsword but it is showing this error.
The email could not be sent. Possible reason: your host may have disabled the mail() function.
Can anyone suggest how to solve this issue?
i have intsalled wordpress in my localhost and i want to change my passsword but it is showing this error.
The email could not be sent. Possible reason: your host may have disabled the mail() function.
Can anyone suggest how to solve this issue?
To change your password:
cd /var/www/domain.com/htdocs
wp user update username --user_pass=password
Of course you should replace username
and password
with actual values.
As soon as you have access to your WP again install an SMTP plugin and configure it.
Ok Thank You soo Much.It work