Data is obtained about opened emails for a particular campaign.
campaignOpened(string $cid, integer $start, integer $limit) : array
Information about opened emails is represented as an array that includes:
campaignOpened($cid, $start, $limit); header("Content-Type: text/plain"); if ($api->errorCode){ echo "Unable to load campaignOpened()!"; echo "\tCode=".$api->errorCode."\n"; echo "\tMsg=".$api->errorMessage."\n"; } else { if (sizeof($retval)==0){ echo "No stats for this campaign yet!\n"; } else { echo "Total: ".$retval['total']."\n"; foreach($retval['data'] as $data){ echo "\tE-mail: ".$data['email']."\n"; echo "\tCount: ".$data['count']."\n\n"; } } }
Data is obtained about not opened emails for a particular campaign.
campaignNotOpened(string $cid, integer $start, integer $limit) : array
Information about not opened emails is represented as an array that includes:
campaignNotOpened($cid, $start, $limit); header("Content-Type: text/plain"); if ($api->errorCode){ echo "Unable to load campaignNotOpened()!"; echo "\tCode=".$api->errorCode."\n"; echo "\tMsg=".$api->errorMessage."\n"; } else { if (sizeof($retval)==0){ echo "No stats for this campaign yet!\n"; } else { echo "Total: ".$retval['total']."\n"; foreach($retval['data'] as $email){ echo "\tE-mail: ".$email."\n"; } } }