mailing_distribution
php
array mailing_distribution( number $nr_wysylki , string $identyfikator_cechy )Returns sent, received, click, unsubscribe and bounce counts for mailing $nr_wysylki, for all property values associated with property ID $identyfikator_cechy. Returns false if the property does not exist on the account or the mailing ID does not exist.
The returned array uses the following keys, containing respectively:
- [0] => property name
- [1] => number of sent emails
- [2] => number of received emails
- [3] => number of clicked links
- [4] => number of unsubscribes
- [5] => number of bounces
Example:
php
$getinfo = mailing_distribution(29, 'prop1');
print_r($getinfo);Example result:
Array
(
[0] => Array
(
[0] => property1
[1] => 4
[2] => 1
[3] => 1
[4] => 0
[5] => 1
)
[1] => Array
(
[0] => First name
[1] => 10
[2] => 8
[3] => 6
[4] => 3
[5] => 2
)
)