Fixing SMTP Authentication Errors in Easy WP SMTP: A Comprehensive Troubleshooting Guide
Content
Understanding and Resolving Common SMTP Authentication Failures
If you're using the 'Easy WP SMTP – WordPress SMTP and Email Logs' plugin and encountering authentication errors, you're not alone. Based on community reports, these issues frequently stem from configuration problems at the email service provider level rather than the plugin itself. This guide will help you diagnose and resolve the most common authentication errors.
Common Error Messages
The authentication errors typically appear in these forms:
- "535 5.7.0 (#AUTH005) Too many bad auth attempts" - Your email provider has temporarily blocked authentication due to multiple failed attempts
- "535 Authentication failed: The provided authorization grant is invalid, expired, or revoked" - Typically indicates incorrect credentials or an expired token
- "535 5.7.139 Authentication unsuccessful" - Common with Microsoft 365/Outlook accounts, often related to security settings
- "535 Incorrect authentication data" - Generic error suggesting credential issues
- "535 5.7.139 Authentication unsuccessful, user password has expired" - The password needs updating despite working elsewhere
Step-by-Step Troubleshooting Solutions
1. Verify Your SMTP Credentials
Double-check your username and password. For services like Gmail, Office 365, or Zoho, ensure you're using the correct SMTP username format (usually the full email address). If you've recently changed your password, update it in the plugin settings.
2. Check for Account-Specific Requirements
Different email providers have specific requirements:
Microsoft 365/Outlook:
- Ensure SMTP AUTH is enabled in your Microsoft 365 admin center
- If Multi-Factor Authentication (MFA) is enabled, you must use an App Password instead of your regular password
- Check if your password has expired (even if it works on other devices)
Gmail:
- Enable "Less secure app access" or use App Passwords if 2FA is enabled
- Check if you've exceeded sending limits
Zoho:
- Ensure you're using the correct SMTP server for your region
- Verify that third-party app access is enabled in your Zoho settings
3. Wait After Multiple Failed Attempts
If you see "too many bad auth attempts" errors, your email provider has likely temporarily blocked authentication attempts. Wait at least 30-60 minutes before trying again to allow the security lockout to expire.
4. Verify SMTP Server Settings
Ensure you're using the correct:
- SMTP Host address (e.g., smtp.office365.com for Microsoft, smtp.gmail.com for Gmail)
- Port number (commonly 587 for TLS, 465 for SSL)
- Encryption type (TLS or SSL) that matches your port selection
5. Check for Sending Limitations
Some email providers impose daily sending limits. If you see errors mentioning "exceeded its 24-hour sending limit," you'll need to wait until the limit resets or upgrade your account if you regularly need to send more emails.
6. Review Email Content
If authentication succeeds but emails are rejected later in the process (e.g., "DATA END command failed"), your email content might be flagged as spam. Review your email content, subject lines, and avoid excessive links or spam-triggering phrases.
When to Contact Your Email Provider
If you've verified all settings and continue experiencing issues, contact your email service provider's support team. They can:
- Check for account-specific restrictions
- Verify SMTP access is properly enabled
- Identify security flags on your account
- Provide specific configuration details for your account
Remember that most authentication errors originate from the email service provider's security policies rather than the Easy WP SMTP plugin itself. The plugin successfully establishes connections but cannot bypass your email provider's security measures.
By methodically working through these troubleshooting steps, most users can resolve their SMTP authentication issues and restore email functionality to their WordPress site.
Related Support Threads Support
-
“too many bad auth attempts”https://wordpress.org/support/topic/too-many-bad-auth-attempts-2/
-
Email Issueshttps://wordpress.org/support/topic/email-issues-20/
-
535 5.7.139 Authentication unsuccessfulhttps://wordpress.org/support/topic/535-5-7-139-authentication-unsuccessful/
-
Not authenticatinghttps://wordpress.org/support/topic/not-authenticating-2/
-
“too many bad auth attempts”https://wordpress.org/support/topic/too-many-bad-auth-attempts/
-
No email coming through from websitehttps://wordpress.org/support/topic/no-email-coming-through-from-website/
-
Microsoft 365 error with smtp. Data not acceptedhttps://wordpress.org/support/topic/microsoft-365-error-with-smtp-data-not-accepted/
-
Not Sending Emailshttps://wordpress.org/support/topic/not-sending-emails-31/
-
Test email failhttps://wordpress.org/support/topic/test-email-fail-3/
-
Error 535 – Incorrect authentication datahttps://wordpress.org/support/topic/error-535-incorrect-authentication-data/
-
Can’t send externally in O365 setuphttps://wordpress.org/support/topic/cant-send-externally-in-o365-setup/
-
Outlook authentication problem with the correct passwordhttps://wordpress.org/support/topic/outlook-authentication-problem-with-the-correct-password/
-
Following error occurred when attempting to send test email:https://wordpress.org/support/topic/following-error-occurred-when-attempting-to-send-test-email/
-
SMTP ERROR: Data END command failedhttps://wordpress.org/support/topic/smtp-error-data-end-command-failed/
-
SMTP ERROR: MAIL FROM command failedhttps://wordpress.org/support/topic/smtp-error-mail-from-command-failed/
-
Support for MFA with MS365https://wordpress.org/support/topic/support-for-mfa-with-ms365/
-
Test email not sendinghttps://wordpress.org/support/topic/test-email-not-sending-6/
-
SMTP Error – Could not Authenticatehttps://wordpress.org/support/topic/smtp-error-could-not-authenticate-21/
-
535 Authentication Errorhttps://wordpress.org/support/topic/535-authentication-error/
-
Cannot authenticate SMTPhttps://wordpress.org/support/topic/cannot-authenticate-smtp-2/
-
550 SMTP Errorhttps://wordpress.org/support/topic/550-smtp-error/
-
SMTP Error: Could not authenticate.https://wordpress.org/support/topic/smtp-error-could-not-authenticate-12/
-
Error due to unsolicited and/or bulk e-mail.https://wordpress.org/support/topic/error-due-to-unsolicited-and-or-bulk-e-mail-9/
-
Authentication unsuccessful, user password has expired.https://wordpress.org/support/topic/authentication-unsuccessful-user-password-has-expired/