Confirmation email from Wordpress wp-admin password change never arrives

April 30, 2015 1.8k views
One-Click Install Apps WordPress Email

Hi all, Using a linux out-of-the-box wordpress install droplet here:

I've setup to point to it via the droplet dns administration. I've also added the Google MX there (used to have gmail mx via godaddy).

Now, however, I can't access wp-admin with a username/password -- maybe I forgot them? However, it says it recognizes my username and when I click "email to reset password" it says email sent.

However, I haven't received an email from the droplet's wordpress in the past hour.

I've received other emails, just not one from wp.

Meanwhile, I have no access to modify the wp site which is all kind of weird right now, possibly due to dns confusion.

Many thanks for any advice/thoughts.

1 comment
  • I would recommend ensuring that you have an MTA installed on your droplet (sendmail or postfix) as this is required in order for PHP to send email messages.

2 Answers

Try to use WP-CLI.

You can add new admin via shell.


wp user create YourNewUserName --role=administrator

You'll see new password in Shell

How to install wp-cli:

@devdevdev - IIRC, DigitalOcean blocks mail on Port 25 for new accounts, so depending on the age of your account, your account may have that block active. You should, however, be able to use an external service, such as Mandrill, Mailgun etc as they operate only on secure ports. Both services are free up to 10,000 e-mails and both have an API which can be configured to both send & receive mail @yourdomain.ext.

In the mean time, WP-CLI would be an excellent choice to get you sorted on the username & password front. Once back in, you can always contact DO's support team and see if such a block is active.

Have another answer? Share your knowledge.