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.

asked 5 years ago2457 views
1 Answer
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.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions