campaignGenericBounces()

Data is obtained about generic bounces of a particular campaign.

campaignGenericBounces(string $cid, integer $start, integer $limit) : array
Input parameters
  • cid - campaign ID
  • start - page number starting from which selection will be made (optional). Default value is 0.
  • limit - number of results returned in one page (optional). Default value is 1000. Maximum allowable value is 15000.
Information obtained
  • email list (array)

Examples

mgapi_campaignGenericBounces.php
campaignGenericBounces($cid, $start, $limit);
 
header("Content-Type: text/plain");
if ($api->errorCode) {
    echo "Unable to load campaignGenericBounces()!";
    echo "\tCode=" . $api->errorCode . "\n";
    echo "\tMsg=" . $api->errorMessage . "\n";
} else {
    echo "E-mails returned: " . sizeof($retval) . "\n";
    foreach ($retval as $email) {
        echo "\t" . $email . "\n";
    }
}

© 2010-2017 Mailigen. All rights reserved.