You are here

function message_notify_mail in Message Notify 7

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

Implements hook_mail().

Set's the message subject and body as configured.

File

./message_notify.module, line 106
Message notify.

Code

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