AWS SESでたまにメールが送られない(2021年3月頃から)
AWSのSESを使っている本番環境で急にメールが 「たまに」 送られなくなった。
ログにはこんなメッセージが。
[_lastResponse:protected] => Array
(
[0] => Array
(
[code] => 535
[message] => Signature Version 2 is deprecated for use with SES from March 26, 2021.
From that date on, we are progressively rejecting such requests.
To resolve the issue, you must migrate to Signature Version 4.
If you created your SMTP credentials in the SES Console,
please create new credentials and replace the former ones.
If you are deriving Signature Version 2 credentials from a IAM user,
please start using the Signature Version 4 algorithm:
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-credentials.html
)
)
どうやらcredentialsの仕組みが変わったからなんか対応しろと言ってるらしい。
リンク先を見ると難しいことが書いてあるが対応は
SESの画面で「Create My SMTP Credentials」ボタンからIAMユーザ再発行して
そのID、パスワードに置き換えましょう。それだけで良さそうです。
色々難しいことを書いてあるサイトが多かったけどこれだけでした。
Author And Source
この問題について(AWS SESでたまにメールが送られない(2021年3月頃から)), 我々は、より多くの情報をここで見つけました https://qiita.com/tentatsu/items/4cc693d46c244c5d6a47著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .