I've read through quite a lot of documentation already, and I'm still not clear or whether or not AWS is the right solution for our problem. The solution we need is:
I've seen that maybe something like this could be possible in connection with their SNS service, but the question remains open to me, whether these two services will actually work together to provide a detailed object with bounces/complaints to a url that I can then process & display as I wish.
Anyone had any experience or done something similar to what I would like to do, and what was your solution? Oh and my language of choice is PHP, if that helps.
Thanks.
You can use Amazon SNS to send notification messages to one or more HTTP or HTTPS endpoints. When you subscribe an endpoint to a topic, you can publish a notification to the topic and Amazon SNS sends an HTTP POST request delivering the contents of the notification to the subscribed endpoint.
Amazon SES belongs to "Transactional Email" category of the tech stack, while Amazon SNS can be primarily classified under "Mobile Push Messaging".
Background. Amazon SES assigns a unique message ID to each email that you successfully submit to send. When Amazon SES receives a bounce or complaint message from an ISP, we forward the feedback message to you.
Amazon SES can do what you are wanting to do.
You will use SES and SNS together. You can configure SES to publish complaints and bouncebacks to Amazon SNS topics. You can then subscribe an HTTP endpoint to these topics to receive notifications when complaints and bouncebacks occur. Here are some of the pages of the SES documentation that you are going to want to read:
For receiving the SNS messages in your PHP code, you can use the AWS SDK for PHP. The Receiving Amazon SNS Messages in PHP article on the AWS PHP Development Blog describes how to use the SDK to do this.
To test, you can use the SES Mailbox Simulator, which just involves using your account to send emails to special email addresses provided by SES (e.g., [email protected]).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With