You are here

function amazon_ses_send_statistics in Amazon SES 6

File

./amazon_ses.admin.inc, line 256
Administrative forms for Amazon SES module.

Code

function amazon_ses_send_statistics() {
  $amazon_ses = new AmazonSES();
  $stats = $amazon_ses
    ->get_send_statistics();
  if ($stats
    ->IsOK()) {
    return $stats->body->GetSendStatisticsResult;
  }
}