You are here

function admin_content_notification_mail in Admin Content Notification 7

Same name and namespace in other branches
  1. 8.3 admin_content_notification.module \admin_content_notification_mail()
  2. 8 admin_content_notification.module \admin_content_notification_mail()
  3. 8.2 admin_content_notification.module \admin_content_notification_mail()
  4. 7.2 admin_content_notification.module \admin_content_notification_mail()

Implements hook_mail().

File

./admin_content_notification.module, line 84
Module admin_content_notification file.

Code

function admin_content_notification_mail($key, &$message, $params) {
  switch ($key) {
    case 'notification':
      $message['subject'] = $params['subject'];
      $message['body'] = explode('<br/>', $params['message']);
      break;
  }
}