You are here

function purge_users_mail in Auto Purge Users 7

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

Implements hook_mail().

File

./purge_users.module, line 87
Purge users module file.

Code

function purge_users_mail($key, &$message, $params) {
  switch ($key) {
    case 'delete_users':
      $message['subject'] = $params['subject'];
      $message['body'][] = $params['body'];
      break;
  }
}