Get bounce statistics for the messages sent using this Server,
optionally filtering on message tag, and a to and from date.
public getOutboundBounceStatistics ( string $tag = NULL, string $fromdate = NULL, string $todate = NULL ) : Postmark\Models\DynamicResponseModel | ||
$tag | string | Filter by tag. |
$fromdate | string | must be of the format 'YYYY-MM-DD' |
$todate | string | must be of the format 'YYYY-MM-DD' |
Résultat | Postmark\Models\DynamicResponseModel |
function testClientCanGetOutboundBounceStatistics() { $tk = parent::$testKeys; $client = new PostmarkClient($tk->READ_SELENIUM_TEST_SERVER_TOKEN, $tk->TEST_TIMEOUT); $stats = $client->getOutboundBounceStatistics(); $this->assertNotEmpty($stats); }