New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
TroubleshootingUpdated 4 Nov 2026

WordPress Password Reset Email Not Received: Causes and Fixes

Why the WordPress lost password email never arrives and how to fix it: PHP mail limits, missing SMTP, SPF and DKIM gaps, wrong site email, plugin conflicts, spam filtering and a clean way to log failures.

SM
Written by Sofia Marino
Technical Support Lead
Reviewed by Kwame Mensah
  • Published27 Mar 2023
  • Read time7 min
  • Length1,425 words
Share this guide

When the WordPress password reset email never arrives, the cause is almost always that WordPress handed the message to the server's local mail function, and the server or the receiving mailbox provider dropped or filtered it. The dependable fix is to send WordPress mail through an authenticated SMTP service with a sender address on a domain you have set up with SPF, DKIM and DMARC. First, though, confirm whether the message was sent at all, because the fix differs.

This guide walks through a short diagnosis, then the common causes in the order we usually find them, then recovery options if you are locked out right now.

Most common causePHP mail() with no authentication, so messages are rejected or filtered
First checkDoes the user have the correct email address, and is it in spam?
Lasting fixSMTP plugin or relay plus SPF, DKIM and DMARC
Locked out nowReset through WP-CLI or the database, then fix mail

How the reset email is sent

The lost password form calls WordPress core, which builds a message containing a reset link and sends it with the wp_mail() function. By default wp_mail() uses PHP's mail function, which passes the message to the local MTA of your host. The default sender is an address such as [email protected], which usually does not exist as a real mailbox. Many hosts limit or disable this path, and mailbox providers treat unauthenticated mail from shared servers with suspicion. See PHP mail function versus SMTP for the technical background.

Quick diagnosis in five minutes

  1. Check the obvious. Look in spam, junk and quarantine folders and any gateway quarantine. Search for the subject, which usually contains the words password reset and the site name.
  2. Confirm the address. The reset goes to the email stored on the user account. If the user has changed mailboxes, the message goes to the old one. Check it under Users in the admin area, or with WP-CLI.
  3. Test another message. Send a different WordPress email, such as a new user notification or a test email from an SMTP plugin. If those also fail, the problem is global mail delivery, not the reset feature.
  4. Try a different recipient. A message that reaches a mailbox at one provider and not another points to filtering and authentication, not to a broken site.
  5. Read the logs. Check the host's mail log if you have access, and enable the debugging shown below.
# WP-CLI: check the stored address and send a test message
wp user get admin --field=user_email
wp eval 'var_dump( wp_mail( "[email protected]", "WP test", "Body" ) );'

A return value of true means PHP accepted the message for handing off, not that it was delivered. A return of false means the send failed immediately; log the reason as follows.

<?php
// Put in a small must-use plugin, e.g. wp-content/mu-plugins/mail-debug.php
add_action( 'wp_mail_failed', function ( $error ) {
    error_log( 'wp_mail failed: ' . $error->get_error_message() );
} );

Cause 1: no authentication on the sending path

Gmail, Outlook and Yahoo expect mail to authenticate. A message sent by a web server with no SPF alignment and no DKIM signature is likely to be rejected or hidden. Add the sending service to your SPF record, publish DKIM keys and set a DMARC policy. Start with authenticating your sending domain, then verify using the SPF, DKIM and DMARC checker.

Cause 2: the From address is wrong

If the From address is [email protected] and your domain has a strict DMARC policy, receivers may reject messages that do not align. Worse, if the From domain is a different domain than the one your server or SMTP service authenticates, DMARC fails. Set a real address on a domain you authenticate, for example [email protected], and make your SMTP plugin enforce it. Read DMARC alignment explained if you see alignment failures in reports.

Cause 3: the host blocks or throttles mail

Shared hosts commonly block outbound port 25, cap messages per hour, or disable mail(). Contact the host and ask whether outgoing mail is enabled and whether limits were reached. Use submission port 587 or 465 with an SMTP service, which hosts generally allow. If your connection to the SMTP server fails, our connection timed out guide covers the typical network causes.

Cause 4: plugin or theme interference

  • A security plugin may block or rewrite the lost password flow, or rate limit it after several attempts.
  • A custom login plugin may replace the reset template or change the sender.
  • A caching or maintenance plugin may break the reset form.
  • A second SMTP plugin may overwrite your settings, so only one plugin should control mail transport.
  • Code in the theme's functions.php that uses the wp_mail_from filter may set an invalid address.

Temporarily disable plugins other than your SMTP plugin, switch to a default theme on a staging copy, and try again. Reintroduce items one at a time.

Cause 5: filtering at the recipient

Corporate gateways and consumer providers sometimes quarantine reset messages because they contain a single link and a short body. Ask the user to check quarantine and to allowlist the sender; the steps are in gateway allowlisting. Keep the wording of your reset email plain and avoid sending it from a domain that is new or lacks history.

Fix it properly: send through SMTP

Install a reputable SMTP plugin (any plugin that configures PHPMailer with your SMTP settings will do), then enter the host, port, encryption and credentials from your provider. Typical values for an authenticated relay are shown below.

SettingValue
SMTP hostsmtp.migosmtp.com
Port and encryption587 with STARTTLS, or 465 with SSL/TLS
AuthenticationOn, with the username and password from your provider
From emailAn address on your authenticated domain, such as [email protected]
Force From addressOn
TestUse the plugin test email, then request a real reset

Prefer storing credentials in wp-config.php constants if your plugin supports it, rather than in the database. Our WordPress SMTP setup guide has a longer walkthrough.

If you are locked out right now

You do not need the email to regain access if you have server access. Using WP-CLI, set a new password directly; this is the safest approach because it does not require editing the database by hand.

wp user list --fields=ID,user_login,user_email
wp user update 1 --user_pass='A-long-unique-passphrase'

Without WP-CLI, your host's control panel may offer a database editor, and administrators with another admin account can reset the user from the Users screen. Change the password again after you get in, enable two-factor authentication, and then fix mail so you are not forced into emergency procedures next time. Ask your host for help if you cannot reach any of these tools.

Troubleshooting

SymptomLikely causeFix
No email, not in spamPHP mail disabled or blockedUse authenticated SMTP
Email arrives at some providers onlyMissing SPF, DKIM or DMARC alignmentAuthenticate the domain and the From address
Link says invalid or expiredLink clicked after expiry, or mail scanner pre-clicked itRequest a fresh link and open it once
Reset works for admin, not for othersDifferent email address storedCheck the user profile address
Form says the email was sent, nothing arriveswp_mail returned true but delivery failedCheck SMTP logs and recipient-side filtering
Error: could not instantiate mail functionmail() disabled by hostSwitch to SMTP
Many requests suddenly failHourly limit reachedCheck host limits or use a relay

Next steps

After mail works, keep it healthy. Monitor failed sends, and test the lost password flow after every major plugin or PHP update. If you run WooCommerce, order emails depend on the same path; see WooCommerce emails not sending.

Preventing the problem from returning

Once the reset email works, protect it. Keep one SMTP plugin active and note which plugin owns mail transport so an update or a new plugin does not quietly override it. Store the SMTP credentials in a place that survives a site migration, and update them whenever you rotate the password at your provider. After each major WordPress, PHP or plugin update, run the lost password flow on a staging copy and on production with a test account, and confirm the message arrives and the link works.

Also consider the user side. Encourage users to keep their profile email address current, and add a short help line on the login page telling them what to do if the message does not arrive, such as checking spam or contacting an administrator. Limit repeated reset requests with a security plugin, but make sure the limit is not so strict that legitimate users are locked out during a busy period.

Stop WordPress emails from going missing Send password resets and order emails through authenticated SMTP with MigoSMTP.

Explore the SMTP relay

References and further reading

Frequently asked questions

Why is my WordPress password reset email not arriving?

Usually WordPress sent it with the server mail function and it was blocked or filtered. Sending through authenticated SMTP with SPF and DKIM normally resolves it.

How can I tell whether WordPress sent the email?

Hook the wp_mail_failed action to log errors, or send a test message with an SMTP plugin and check the plugin or provider logs.

I am locked out. How do I get back in?

With server access, use WP-CLI wp user update to set a new password, or reset it from another administrator account, then fix mail delivery.

Does the From address matter?

Yes. It should be a real address on a domain you have authenticated, otherwise DMARC alignment can fail and receivers may reject the message.

Could a plugin break the reset email?

Yes. Security, login or second SMTP plugins can block or rewrite the flow, so disable them temporarily to isolate the cause.

Topics#wordpress#password reset#wp_mail#smtp#troubleshooting
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales