You are here

function MCAPI::campaignHardBounces in Mailchimp 7

Same name and namespace in other branches
  1. 5.2 MCAPI.class.php \MCAPI::campaignHardBounces()
  2. 5 MCAPI.class.php \MCAPI::campaignHardBounces()
  3. 6.2 MCAPI.class.php \MCAPI::campaignHardBounces()
  4. 6 MCAPI.class.php \MCAPI::campaignHardBounces()

Get all email addresses with Hard Bounces for a given campaign

Stats

Parameters

string $cid the campaign id to pull bounces for (can be gathered using campaigns()):

integer $start optional for large data sets, the page number to start at - defaults to 1st page of data (page 0):

integer $limit optional for large data sets, the number of results to return - defaults to 1000, upper limit set at 15000:

Return value

array Arrays of email addresses with Hard Bounces

File

./MCAPI.class.php, line 546

Class

MCAPI

Code

function campaignHardBounces($cid, $start = 0, $limit = 1000) {
  $params = array();
  $params["cid"] = $cid;
  $params["start"] = $start;
  $params["limit"] = $limit;
  return $this
    ->callServer("campaignHardBounces", $params);
}