Get a "dump" for a specific bounce.
public getBounceDump ( integer $id ) : string | ||
$id | integer | The ID of the bounce for which we want a dump. |
리턴 | string |
function testClientCanGetBounceDump() { $tk = parent::$testKeys; $client = new PostmarkClient($tk->READ_INBOUND_TEST_SERVER_TOKEN, $tk->TEST_TIMEOUT); $bounces = $client->getBounces(10, 0); $id = $bounces->Bounces[0]['ID']; $dump = $client->getBounceDump($id); $this->assertNotEmpty($dump); }