Fixing 'Authentication Unsuccessful' and Other Common Post SMTP Errors
Content
Why Am I Getting Authentication and Connection Errors in Post SMTP?
If you use the Post SMTP plugin for WordPress, you've likely encountered a frustrating error message at some point. Based on community support threads, some of the most common issues include authentication failures, connection problems, and configuration errors that prevent emails from sending properly.
Common Post SMTP Error Messages and Their Meanings
1. "5.7.139 Authentication unsuccessful" (Office 365/Microsoft)
This is one of the most frequently reported errors with Office 365/Outlook configurations. The error typically appears as: "5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator."
Why this happens:
- Outdated or incorrect login credentials
- Microsoft security policies blocking the connection
- Multi-factor authentication requirements not met
- Account-specific restrictions from your administrator
Possible solutions:
- Verify your username and password are correct in Post SMTP settings
- Check if your Microsoft account requires an app-specific password
- Ensure your from email matches your Office 365 account email
- Contact your Office 365 administrator to check for access restrictions
2. "Could not read from [server]" (Mailjet and other providers)
Many users report connection issues with messages like "Could not read from in.mailjet.com" or similar errors with other SMTP providers.
Why this happens:
- Server connectivity issues
- Firewall or security restrictions
- Incorrect port or encryption settings
- DNS resolution problems
Possible solutions:
- Run the Post SMTP connectivity test to diagnose connection issues
- Verify your SMTP server address, port, and encryption settings
- Check with your hosting provider about firewall restrictions
- Try alternative authentication methods (Plain vs. Login)
3. API Error Messages (Sendinblue/Brevo, Mailgun, SendGrid)
Various API errors appear with service providers:
"Code: 400, Message: Bad Request""Code: 401, Message: Unauthorized""Code: 403, Message: Forbidden""missing_parameter"or"Key not found"
Why this happens:
- Invalid or revoked API keys
- Missing required parameters in API calls
- Unverified sender addresses
- IP address restrictions
Possible solutions:
- Regenerate your API key in your email service dashboard
- Verify your sender email address in your service provider's panel
- Check if your server IP needs to be whitelisted
- Ensure you're using the correct API endpoint
4. "Email address is not verified" (Amazon SES)
This error occurs when using Amazon SES: "Message rejected: Email address is not verified."
Why this happens:
- Using a from address that hasn't been verified in Amazon SES
- Trying to send from a different region than where your identity is verified
Possible solutions:
- Verify your email address or domain in Amazon SES console
- Ensure you're using the same AWS region throughout your configuration
- Check that your from email matches exactly with your verified address
How to Troubleshoot Post SMTP Issues Effectively
When encountering problems with Post SMTP, follow these systematic troubleshooting steps:
- Generate a Diagnostic Report: Navigate to Post SMTP → Troubleshooting Tab → Diagnostic Test. This report provides essential information about your server environment and configuration.
- Check Email Logs: Review the Post SMTP email log for specific error messages and patterns. Failed emails will show detailed error information.
- Test Connection: Use the built-in connectivity test to verify your server can reach your SMTP provider.
- Verify Settings: Double-check all settings including SMTP server, port, encryption type, and authentication method. Sometimes switching between "Plain" and "Login" authentication can resolve issues.
- Test with Different Providers: If possible, try configuring a different mailer (Gmail, Office 365, etc.) to isolate whether the issue is provider-specific.
- Check for Conflicts: Temporarily disable other plugins to rule out conflicts, especially other SMTP or email-related plugins.
When All Else Fails: Reset and Reconfigure
If you've tried everything and still experience issues, consider resetting Post SMTP completely:
- Navigate to the Post SMTP dashboard
- Find the option to reset settings (often under Advanced settings)
- Run the configuration wizard from scratch
- Carefully re-enter all your SMTP credentials and settings
This process often resolves persistent configuration issues that are difficult to pinpoint otherwise.
Conclusion
Most Post SMTP authentication and connection errors stem from incorrect configuration, provider-specific restrictions, or server environment issues. By methodically checking your settings, verifying your credentials, and using the diagnostic tools provided by the plugin, you can usually identify and resolve the problem.
Remember that email delivery involves multiple systems working together—your WordPress site, your SMTP provider, and recipient mail servers. When troubleshooting, consider all these components to effectively diagnose and fix delivery issues.
Related Support Threads Support
-
COMMUNICATION ERROR [334] – but it’s not authentication, maybe throttling?https://wordpress.org/support/topic/communication-error-334-but-its-not-authentication-maybe-throttling/
-
Half of transactional emails sent has Incorrect Authentication Data errorhttps://wordpress.org/support/topic/half-of-transactional-emails-sent-has-incorrect-authentication-data-error/
-
Code: 403, Message: Forbidden, Body // Office365https://wordpress.org/support/topic/code-403-message-forbidden-body-office365/
-
My Post SMTP seems to have stopped working. No emails are being send out.https://wordpress.org/support/topic/my-post-smtp-seems-to-have-stopped-working-no-emails-are-being-send-out-2/
-
sending problem from cell phonehttps://wordpress.org/support/topic/sending-problem-from-cell-phone/
-
MYSQL Errorhttps://wordpress.org/support/topic/mysql-error-44/
-
Bulk email not sending with MAILJET (Paid)https://wordpress.org/support/topic/bulk-email-not-sending-with-mailjet-paid/
-
Brevo API – sending test email returns error code 401https://wordpress.org/support/topic/brevo-api-sending-test-email-returns-error-code-401/
-
403 forbidden mail failureshttps://wordpress.org/support/topic/403-forbidden-mail-failures/
-
WP SMTP – mailjet : Could not read from in-v3.mailjet.comhttps://wordpress.org/support/topic/wp-smtp-mailjet-could-not-read-from-in-v3-mailjet-com/
-
Email Failure for main and backuphttps://wordpress.org/support/topic/email-failure-for-main-and-backup/
-
Out Going Mail Server and Hostnamehttps://wordpress.org/support/topic/out-going-mail-server-and-hostname/
-
Authentication unsuccessful, the request did not meet the criteriahttps://wordpress.org/support/topic/authentication-unsuccessful-the-request-did-not-meet-the-criteria/
-
Brevo: IP address error Unauthorized despite being in the authorized listhttps://wordpress.org/support/topic/brevo-ip-address-error-unauthorized-despite-being-in-the-authorized-list/
-
Not Sending Emails Anymore – Authentication Failedhttps://wordpress.org/support/topic/not-sending-emails-anymore-authentication-failed/
-
Errors when there isn’t onehttps://wordpress.org/support/topic/errors-when-there-isnt-one/
-
key not found and unauthorized with sendinbluehttps://wordpress.org/support/topic/key-not-found-and-unauthorized-with-sendinblue/
-
Failed Error Messagehttps://wordpress.org/support/topic/failed-error-message-2/
-
Email is failing on Post SMTPhttps://wordpress.org/support/topic/email-is-failing-on-post-smtp/
-
Database Error on Wizardhttps://wordpress.org/support/topic/database-error-on-wizard/
-
Emails failing to be sent for monthshttps://wordpress.org/support/topic/emails-failing-to-be-sent-for-months/
-
Unable send test emailhttps://wordpress.org/support/topic/unable-send-test-email/
-
Status “CRAM-MD5 authentication mechanism not supported”https://wordpress.org/support/topic/status-cram-md5-authentication-mechanism-not-supported/
-
Mailgun’s servers was unreachablehttps://wordpress.org/support/topic/mailguns-servers-was-unreachable/
-
Unable to send to icloud emailshttps://wordpress.org/support/topic/unable-to-send-to-icloud-emails/
-
Email failinghttps://wordpress.org/support/topic/email-failing/
-
Mail failurehttps://wordpress.org/support/topic/mail-failure-2/
-
5.7.139 Authentication unsuccessfulhttps://wordpress.org/support/topic/5-7-139-authentication-unsuccessful-3/
-
Email status failedhttps://wordpress.org/support/topic/email-status-failed/
-
Authentication failedhttps://wordpress.org/support/topic/authentication-failed-26/
-
Sql errorhttps://wordpress.org/support/topic/sql-error-52/
-
Installation failurehttps://wordpress.org/support/topic/installation-failure-15/
-
Messages Failing Suddenlyhttps://wordpress.org/support/topic/messages-failing-suddenly/
-
No llegan los correoshttps://wordpress.org/support/topic/no-llegan-los-correos/
-
OAuth 2.0 authentication errorhttps://wordpress.org/support/topic/oauth-2-0-authentication-error/
-
Transaction failed Unauthorized sender address.https://wordpress.org/support/topic/transaction-failed-unauthorized-sender-address/
-
Email not sending as of yesterdayhttps://wordpress.org/support/topic/email-not-sending-as-of-yesterday/
-
My emails not sent and I have received Incorrect authentication datahttps://wordpress.org/support/topic/my-emails-not-sent-and-i-have-received-incorrect-authentication-data/
-
lots of Code: 500 Internal Server Errorshttps://wordpress.org/support/topic/lots-of-code-500-internal-server-errors/
-
Post SMTP Setup Wizard Errorhttps://wordpress.org/support/topic/post-smtp-setup-wizard-error/
-
Error: Insufficient system resourceshttps://wordpress.org/support/topic/error-insufficient-system-resources/
-
Could not read from in.mailjet.comhttps://wordpress.org/support/topic/could-not-read-from-in-mailjet-com/
-
retry timeout exceededhttps://wordpress.org/support/topic/retry-timeout-exceeded/
-
Zoho Mail Addon – Code 400 Errorhttps://wordpress.org/support/topic/zoho-mail-addon-code-400-error/
-
Brevo API intermittent failurehttps://wordpress.org/support/topic/brevo-api-intermittent-failure/
-
Could not read from in-v3.mailjet.comhttps://wordpress.org/support/topic/could-not-read-from-in-v3-mailjet-com/
-
Postman SMTP setup wizard errorhttps://wordpress.org/support/topic/postman-smtp-setup-wizard-error/
-
Strange SMTP Authentication Issueshttps://wordpress.org/support/topic/strange-smtp-authentication-issues/
-
Error in latest update, Code: , Message: , Body:https://wordpress.org/support/topic/error-in-latest-update-code-message-bodynot-found/
-
“Unable to connect via TLS” with Mailgunhttps://wordpress.org/support/topic/unable-to-connect-via-tls-with-mailgun/
-
Communication Error [334]https://wordpress.org/support/topic/communication-error-334-3/
-
email not sending.https://wordpress.org/support/topic/email-not-sending-78/
-
Unexpected error when running wizardhttps://wordpress.org/support/topic/unexpected-error-when-running-wizard/
-
Post SMTP Errorhttps://wordpress.org/support/topic/post-smtp-error/
-
Code: 401 Error Codehttps://wordpress.org/support/topic/code-401-error-code/