You are here

function amazon_ses_mail in Amazon SES 6

Implementation of hook_mail().

File

./amazon_ses.module, line 56
Enables Drupal to send email directly through Amazon SES.

Code

function amazon_ses_mail($key, &$message, $params) {
  if ($key == 'amazon-ses-test') {
    $message['subject'] = $params['subject'];
    $message['body'] = $params['body'];
  }
}