Reputation: 512
I've read those articles about handling bounces: Amazon SES Notifications Through Amazon SNS
Using Notifications with Amazon SES
Testing Amazon SES Email Sending
But I still can't understand how to create controller function, which will delete bounced emails from dispatch list using Symfony2.
Upvotes: 3
Views: 680
Reputation: 6389
You can use the AWS SES Monitor Bundle that can do for you all the needed stuff.
It can setup topics on AWS SNS and subscribe your AWS SES to them to get notifications about bounces, complaints and deliveries.
It includes a SwiftMailer filter that permits you to not send emails to bounced or complained emails.
Upvotes: 2