Skip to content

campaign_total_bounced ​

php
number campaign_total_bounced ( number $campaignId )

Returns the total bounce count for the campaign ID supplied as the parameter.

Example:

php
$campaingId = 1;
$bounced = campaign_total_bounced($campaingId);
if ($bounced > 0) {
print("Recorded ".$bounced." bounces.");
} else {
print("no bounces recorded in this campaign.");
}

The result will look similar to:

 Recorded 42 bounces.