Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
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: