public function activity($notifyEmail = NULL, $dateFrom = NULL, $dateTo = NULL, array $tags = array(), array $senders = array(), array $states = array(), array $apiKeys = array()){
        return $this->request('activity', array(
            'notify_email' => $notifyEmail,
            'date_from' => $dateFrom,
            'date_to' => $dateTo,
            'tags' => $tags,
            'senders' => $senders,
            'states' => $states,
            'api_keys' => $apiKeys
        ));
    }
public function activity($notifyEmail = NULL, $dateFrom = NULL, $dateTo = NULL, array $tags = array(), array $senders = array(), array $states = array(), array $apiKeys = array()){
        return $this->request('activity', array(
            'notify_email' => $notifyEmail,
            'date_from' => $dateFrom,
            'date_to' => $dateTo,
            'tags' => $tags,
            'senders' => $senders,
            'states' => $states,
            'api_keys' => $apiKeys
        ));
    }
public function activity ( $ notifyEmail = NULL , $ dateFrom = NULL , $ dateTo = NULL , array $ tags = array ( ) , array $ senders = array ( ) , array $ states = array ( ) , array $ apiKeys = array ( ) ) { return $ this -> request ( 'activity' , array ( 'notify_email' => $ notifyEmail , 'date_from' => $ dateFrom , 'date_to' => $ dateTo , 'tags' => $ tags , 'senders' => $ senders , 'states' => $ states , 'api_keys' => $ apiKeys ) ) ; }
Begins an export of your activity history.
@param string $notifyEmail an optional email address to notify when the export job has finished
@param string $dateFrom start date as a UTC string in YYYY-MM-DD HH:MM:SS format
@param string $dateTo end date as a UTC string in YYYY-MM-DD HH:MM:SS format
@param string[] $tags an array of tag names to narrow the export to; will match messages that contain ANY of the tags
@param string[] $senders an array of senders to narrow the export to
@param string[] $states an array of states to narrow the export to; messages with ANY of the states will be included
@param string[] $apiKeys an array of api keys to narrow the export to; messsagse sent with ANY of the keys will be included
@return array
@link https://mandrillapp.com/api/docs/exports.JSON.html#method=activity
Begins an export of your activity history .