SES Email sending failed

0

Hello Gurus

I have set up the domain over SES and completed the process of DNS verified and approved production access by AWS support.

In this same process, I have followed over approx 15+ domains with different projects but now in our current project everything is processed as expected but email sending failed.

Following are the SMTP test screenshots for reference.

Enter image description here

Enter image description here

Need help on this issue, please

2 Answers
0
Accepted Answer

The SMTP credentials are different than the access key and secret key of IAM user. Generate SMTP credentials and use them in place of user/password. https://aws.amazon.com/premiumsupport/knowledge-center/ses-create-smtp-credentials/

AWS
Rishi
answered a year ago
profile picture
EXPERT
reviewed a month ago
0

Hi,

As per the issue description , I understand that you are getting "535 Authentication Credentials Invalid" error when you try to send emails via SES SMTP.

Please be informed that, the credentials that you use to send email through the Amazon SES SMTP interface are 'unique' to each AWS Region. I would like to let you know that the SMTP user credentials are different from IAM user. Unlike IAM user, SMTP users are region specific and can only be used in that region to send emails. If you use the Amazon SES SMTP interface to send email in more than one region, you must generate a set of SMTP credentials for each region that you plan to use. 


If you confirm that there are no typos or spaces in your current SES SMTP credentials while sending the email, then I suspect that you might be using SES SMTP credential of different region to send emails via a different region .

Hence, request you to try creating the SES SMTP user in ‘us-east-2’ region once, by following below steps - and then try using it:

a. Open the Amazon SES console at: https://eu-west-1.console.aws.amazon.com/ses/home?region=us-east-2#/verified-identities 
b.Choose SMTP settings in the left navigation pane - this will open the Simple Mail Transfer Protocol (SMTP) settings page.Choose Create SMTP Credentials . c. For Create User for SMTP, type a name for your SMTP user in the IAM User Name field( add the region in the name to differentiate the SMTP credentials ). When you finish, choose Create in the bottom-right corner. d. Expand Show User SMTP Security Credentials - your SMTP credentials are shown on the screen. e. Download these credentials by choosing Download Credentials or copy them and store them in a safe place, because you can't view or save your credentials after you close this dialog box. f. Choose Close Window.

Please use this newly created SMTP credentials to send email. Kindly follow the document[1] for testing your connection to the Amazon SES SMTP interface using the command line.

Please feel free to reply if you have further queries.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions