function auto_expire_mail in Auto Expire 7
Implements hook_mail().
(TODO: come up with a cleaner implementation of this)
File
- ./
auto_expire.module, line 668
Code
function auto_expire_mail($key, &$message, $params) {
switch ($key) {
case 'auto_expire_warning_bcc':
case 'auto_expire_expired_bcc':
$message['headers']['bcc'] = $params['bcc'];
case 'auto_expire_warning':
case 'auto_expire_expired':
$message['subject'] = $params['subject'];
$message['body'][] = $params['body'];
break;
}
}