function antispam_mail in AntiSpam 7
Implements hook_mail().
File
- ./
antispam.module, line 1471 - Primary hook implementations for the Antispam module.
Code
function antispam_mail($key, &$message, $params) {
$headers = array(
'MIME-Version' => '1.0',
'Content-Type' => 'text/html; charset=UTF-8; format=flowed',
'Content-Transfer-Encoding' => '8Bit',
'X-Mailer' => 'Drupal',
);
foreach ($headers as $key => $value) {
$message['headers'][$key] = $value;
}
$message['subject'] = $params['subject'];
$message['body'][] = $params['body'];
}