• My client has changed the password for his website but now cannot remember it. He has come to me for help as the hosting service (freehosting.com) does not allow email, so every time we attempt to retrieve it, we are met with this error message:

    The email could not be sent.
    Possible reason: your host may have disabled the mail() function.

    Is there any way I can add a new account without logging in to wp? Or is there someone I can contact to retrieve the password?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can reset the password in the database. Convert a password to an MD5 hash, and set that hash as the password in the wp_users table. Then your client will be able to log in and change their own password from there.

    Alternatively, you can use a service like Mailgun to send the messages from wp_mail instead of using your host’s mail() function. Here is a guide to get you started: http://wpninjas.com/sending-email-with-mailgun/

    Thread Starter OmarBlake-Dafaalla

    (@omarblake-dafaalla)

    Hi Zach!

    Which directory would I find wp_users under?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot retrieve password’ is closed to new replies.