Notifications with Amazon SES, through Amazon SNS

My goal is quit simple, I want to configure amazon SNS to receive my amazon SES emails notifications (Bounces, Complaints, Deliveries).

So I make the configuration as the doc:

http://docs.aws.amazon.com/fr_fr/ses/latest/DeveloperGuide/configure-sns-notifications.html

Into Amazon SES > Domains > Notifications > Edit Configuration I created a new SES topic and select it in SNS topic configuration for Bounces, Complaints and Deliveries.

In Amazon SNS, I selected my topic > Actions > Subscribe to topic and put my PHP script url in the Endpoint input.

My php script is basic, just to see if it's working:

$postBody = file_get_contents('php://input');
$requete = "INSERT INTO amazon(json) VALUES('$postBody')";
$db->exec($requete);

But my script seems to never be called... However I am sending emails with Amazon SES right now.

What's wrong in my configuration ? Did I missed somethink ?

Amazon said: "A confirmation message will be sent to the subscribed endpoint. Once the subscription has been confirmed, the endpoint will receive notifications from this topic." But nothing never append... :(

Thanks for help

链接地址: http://www.djcxy.com/p/5524.html

上一篇: 如何从Amazon SNS获取Subscription ARN以取消订阅

下一篇: 通过亚马逊SNS通知Amazon SES