AWS Builder Center: Learn, Build and Connect with builders in the AWS community
AWS Builder Center is the official home for builders on AWS. Share and read what others are working on, follow people who inspire you, explore training and workshops, and find tools to support what you're building.
How do I resolve the Amazon SES email error "SMTP server requires a secure connection"?
2 minute read
0
I tried to use Amazon Simple Email Service (SES) to send an email and received the following error: "SMTP server requires a secure connection or the client is not authenticated. The server response was: Authentication required".
Short description
This error occurs because the sending application didn't attempt to authenticate when it connected to the Amazon SES SMTP interface. Usually this error occurs when the SES API call request used AWS Signature Version 2 (SigV2) instead of AWS Signature Version 4 (SigV4).
Important: If you created your SMTP credentials before January 10, 2019, then your SMTP credentials use AWS SigV2. Credentials created after January 10, 2019 use AWS SigV4 by default.
Resolution
To check the creation time of the SMTP user and migrate to AWS SigV4, complete the following steps: