You are here

function amazon_ses_quota in Amazon SES 6

1 call to amazon_ses_quota()
amazon_ses_admin_stats in ./amazon_ses.admin.inc
Page callback -- admin/reports/amazon_ses

File

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

Code

function amazon_ses_quota() {
  $amazon_ses = new AmazonSES();
  $quota = $amazon_ses
    ->get_send_quota();
  if ($quota
    ->IsOK()) {
    return $quota->body->GetSendQuotaResult;
  }
}