function message_notify_mail in Message Notify 8
Same name and namespace in other branches
- 7.2 message_notify.module \message_notify_mail()
- 7 message_notify.module \message_notify_mail()
Implements hook_mail().
Set's the message subject and body as configured.
File
- ./
message_notify.module, line 15 - Message notify module.
Code
function message_notify_mail($key, &$message, $params) {
$message['subject'] = $params['mail_subject'];
$message['body'][] = $params['mail_body'];
}