-
Notifications
You must be signed in to change notification settings - Fork 61
Handling Bounces
Andrew Theken edited this page Jan 16, 2015
·
2 revisions
The PostmarkClient
allows you to search and process bounces from email that you send through the Postmark API.
$client = new PostmarkClient("<server token>");
$deliveryStats = $client->getDeliveryStatistics();
$client = new PostmarkClient("<server token>");
$bounces = $client->getBounces();
$client = new PostmarkClient("<server token>");
$bounceId = 42;
$bounces = $client->getBounce($bounceId);
$client = new PostmarkClient("<server token>");
$bounceId = 42;
$bounceDump = $client->getBounceDump($bounceId);
$client = new PostmarkClient("<server token>");
$bounceId = 42;
$bounceActivationStatus = $client->activateBounce($bounceId);
$client = new PostmarkClient("<server token>");
$bounceTags = $client->getBounceTags();
The Postmark-PHP client can be installed from Packagist.
For additional information about the capabilities of the Postmark API, see Postmark Developers Documentation.