php - Notifications with Amazon SES, through Amazon SNS -


my goal quit simple, want configure amazon sns receive amazon ses emails notifications (bounces, complaints, deliveries).

so make configuration doc:

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

into amazon ses > domains > notifications > edit configuration created new ses topic , select in sns topic configuration bounces, complaints , deliveries.

in amazon sns, selected topic > actions > subscribe topic , put php script url in endpoint input.

my php script basic, see if it's working:

$postbody = file_get_contents('php://input'); $requete = "insert amazon(json) values('$postbody')"; $db->exec($requete); 

but script seems never called... sending emails amazon ses right now.

what's wrong in configuration ? did missed somethink ?

amazon said: "a confirmation message sent subscribed endpoint. once subscription has been confirmed, endpoint receive notifications topic." nothing never append... :(

thanks help


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -