You are here

function message_notify_mail in Message Notify 7.2

Same name and namespace in other branches
  1. 8 message_notify.module \message_notify_mail()
  2. 7 message_notify.module \message_notify_mail()

Implements hook_mail().

Set's the message subject and body as configured.

File

./message_notify.module, line 88
Message notify.

Code

function message_notify_mail($key, &$message, $params) {
  $message['subject'] = $params['message_notify_email_subject'];
  $message['body'][] = $params['message_notify_email_body'];
}