Bobcares

Amazon SES SMTP 535 Authentication Credentials Invalid – Fix it now

by | May 10, 2020

Is your email application throwing Amazon SES SMTP 535 Authentication Credentials Invalid error?

Amazon offers the Simple Email Service as a quick option to send emails.

However, sending emails often shows authentication errors due to wrong credentials, account suspension, etc.

At Bobcares, we help AWS customers to send emails correctly as part of our AWS Support Services.

Today, we’ll see how we fix the credentials invalid error with Amazon SES.

 

Where does Amazon SES SMTP 535 Authentication Credentials Invalid error show up?

In general, Amazon SES works as a quick way to send emails from applications. In this model, the user need not have to maintain their mail servers. It allows sending emails from the user’s domain name itself. That’s why many users make use of Amazon SES to send mails.

That raises the question, where do users find Amazon SES useful?

The common scenarios include sending emails from the command line, SMTP mail programs, applications like WordPress, eclipse, etc.

Recently, a WordPress customer reported the SMTP failed error in his email form as:

Amazon SES SMTP 535 authentication credentials invalid

 

Common causes of Amazon SES SMTP 535 Authentication Credentials Invalid error

Amazon SES uses an SMTP login to authenticate a connection.

Let’s now check the common causes for email failure using SES.

 

Incorrect SMTP login details

One of the top reasons for SMTP failure can be invalid SMTP login details. Many AWS users provide their AWS IAM username and password in their email application. But, this is different from the SES SMTP login details. For the emails to work, users have to give the correct SES login details.

 

Special characters in credentials

Similarly, the special characters in SMTP credentials can also create problems while sending emails. The credentials require URL encoding and then provide in the configuration.

 

Suspension of sending privileges

Likewise, suspension of Amazon Simple Email Service (Amazon SES) can also cause a 535 error. SES is a mail service that has many users. Therefore, Amazon continuously monitors the number of emails sent from each user. If any of the users send bulk emails or spam, there will be resource abuse. This can affect other users on the same server.  Here, Amazon suspends the sending privileges of the suspicious account.

It is always recommended to keep a close watch on your email activity to avoid suspension of service. As a best practice, we always enable authentication with SMTP. In this way, only authorized users can send emails.

 

How we fixed Amazon SES 535 error?

We’ll now move on and check how we resolved the 535 error with Amazon SES.

 

Checking Amazon SES status

As the first step, our Support Engineers verified the status of Amazon SES service. This helped us to rule out the possibility of account suspension.

 

Verifying SMTP login

Further, we verified whether the customer was using the correct SMTP login details.

For this, we logged in to the customer’s AWS account, and selected “AWS Management Console”. Then we opened Amazon SES console.

In the navigation pane, we selected SMTP Settings. In the content pane, we clicked Show User SMTP Credentials. Thus, we could see the current SMTP credentials.

If the user account was found missing, we click on Create My SMTP Credentials. That will automatically create a login with default values.

Likewise, to change your SMTP password, we delete the existing SMTP user in the IAM console. Then, complete the procedures to generate a new set of SMTP credentials.

 

Validating SMTP connection

Moving on, we validated the SMTP connection from the SES console. It worked fine.

However, the settings in the WP SMTP plugin in WordPress was incorrect. Therefore, we corrected the login details and the error was fixed.

We always make sure to check for special characters in the password.

[Trouble connecting with Amazon SES login? We can help you.]

 

Conclusion

In short, Amazon SES SMTP 535 Authentication Credentials Invalid occurs due to wrong login details, suspended SES account, etc. Today, we saw how our AWS Experts checked and fixed email sending via Amazon SES.

Get 24x7 monitoring for your AWS servers

There are proven ways to get even more out of your AWS Infrastructure! Let us help you.

Spend your time in growing business and we will take care of AWS Infrastructure for you.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF