Error sending mail using AWS SES

0

Pls how do I resolve this error: 'The SMTP server requires a secure connection or the client was not authenticated. The server response was: Authentication required'

Chris
質問済み 3ヶ月前99ビュー
1回答
0

This error indicates that the sending application didn't attempt to authenticate when it connected to the Amazon SES SMTP interface. Usually this error is seen if the SES API call request was signed using AWS Signature version 2 (SigV2), instead of AWS Signature version 4 (SigV4).

Note: If you created your SMTP credentials before January 10, 2019, your SMTP credentials were created using an older version of AWS SigV2. Credentials created after that date use AWS SigV4 by default.

Resolution

Check the creation time of the SMTP user by following these steps:

  1. Sign in to the AWS Management Console, and then open the AWS Identity and Access Management (IAM) console.
  2. In the navigation pane, choose Users, and then choose the SMTP user name.
  3. A new page loads. You can find "creation time" under summary.

If your SMTP user was created before January 10, 2019, then you receive an error because requests are signed using AWS SigV2.

To resolve the issue, create a new SMTP user from the SES console, and then replace the older SMTP user from your sending application. You can also derive the AWS Sigv4 SMTP username and password from IAM user by converting existing AWS credentials.

If the issue persists, or if your SMTP user was created after January 10, 2019, then open a case with SES support to investigate further.

AWS
zsewell
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ