Guides › WordPress › Email problems

WP Mail SMTP or Gmail SMTP Authentication Errors: Fix Steps

Most SMTP errors come from a wrong password type, blocked port or a missing app password.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Email problem

Check

  1. Credentials. Gmail and Microsoft accounts with 2FA need an app password or OAuth, not the normal password.
  2. Host and port. For example 587 with TLS, or 465 with SSL. Make sure your host does not block them. See Port 25 Blocked or SMTP Connection Refused From Your Server or Network.
  3. From address must be allowed by the account.
  4. Authentication records (SPF, DKIM) match the service. See SPF, DKIM and DMARC.
  5. Use the plugin's email test and read the exact error.
  6. Check the debug log in the plugin.

Full setup: WordPress SMTP setup.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.