library/Garp/Service/Amazon/Ses.php
public function getSendStatistics() {
        $response = $this->_makeRequest(array(
            'Action' => 'GetSendStatistics'
        ));
        $dom = new DOMDocument();
        $dom->loadXML($response);
        $members = $dom->getElementsByTagName('member');
        $out = array();
        foreach ($members as $member) {
            $out[] = array(
                'DeliveryAttempts'  => $member->getElementsByTagName('DeliveryAttempts')->item(0)->nodeValue,
                'Timestamp'         => $member->getElementsByTagName('Timestamp')->item(0)->nodeValue,
                'Rejects'           => $member->getElementsByTagName('Rejects')->item(0)->nodeValue,
                'Bounces'           => $member->getElementsByTagName('Bounces')->item(0)->nodeValue,
                'Complaints'        => $member->getElementsByTagName('Complaints')->item(0)->nodeValue,
            );
        }
        return $out;
    }
public function getSendStatistics() {
        $response = $this->_makeRequest(array(
            'Action' => 'GetSendStatistics'
        ));
        $dom = new DOMDocument();
        $dom->loadXML($response);
        $members = $dom->getElementsByTagName('member');
        $out = array();
        foreach ($members as $member) {
            $out[] = array(
                'DeliveryAttempts'  => $member->getElementsByTagName('DeliveryAttempts')->item(0)->nodeValue,
                'Timestamp'         => $member->getElementsByTagName('Timestamp')->item(0)->nodeValue,
                'Rejects'           => $member->getElementsByTagName('Rejects')->item(0)->nodeValue,
                'Bounces'           => $member->getElementsByTagName('Bounces')->item(0)->nodeValue,
                'Complaints'        => $member->getElementsByTagName('Complaints')->item(0)->nodeValue,
            );
        }
        return $out;
    }
public function getSendStatistics ( ) { $ response = $ this -> _makeRequest ( array ( 'Action' => 'GetSendStatistics' ) ) ; $ dom = new DOMDocument ( ) ; $ dom -> loadXML ( $ response ) ; $ members = $ dom -> getElementsByTagName ( 'member' ) ; $ out = array ( ) ; foreach ( $ members as $ member ) { $ out [ ] = array ( 'DeliveryAttempts' => $ member -> getElementsByTagName ( 'DeliveryAttempts' ) -> item ( 0 ) -> nodeValue , 'Timestamp' => $ member -> getElementsByTagName ( 'Timestamp' ) -> item ( 0 ) -> nodeValue , 'Rejects' => $ member -> getElementsByTagName ( 'Rejects' ) -> item ( 0 ) -> nodeValue , 'Bounces' => $ member -> getElementsByTagName ( 'Bounces' ) -> item ( 0 ) -> nodeValue , 'Complaints' => $ member -> getElementsByTagName ( 'Complaints' ) -> item ( 0 ) -> nodeValue , ) ; } return $ out ; }
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
@return Array
Returns the user s sending statistics . The result is a list of data points representing the last two weeks of sending activity . Each data point in the list contains statistics for a 15 - minute interval .