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
Post a Comment