跳至內容

Error: At least one of the pre-conditions you specified did not hold

0

I'm having a very strange issue with SES, I keep getting the error "At least one of the pre-conditions you specified did not hold" and I don't know what exactly goes wrong.

The message I try to send is here:
https://gist.github.com/yellow1912/9a102ae452b6c77a7b8e5d7020f0eb5d

I'm following the format specified here:
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-using-sdk-php.html

If anyone has any clue at all, I would really appreciate it.

已提問 7 年前檢視次數 4207 次

1 個回答
0

The issue was that I was using the wrong region for ses client. For some reason due to a configuration mishap a S3 region was used instead ('s3.us-east-1'). The extra s3 caused the issue.

已回答 7 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。