function spam_mail in Spam 5
Wrapper to user_mail()
2 calls to spam_mail()
- spam_cron in ./
spam.module - Drupal _cron hook. Provides ability to automatically expired spam content.
- spam_default_actions in ./
spam.module - The default callback, performs all actions on spam/not spam content.
File
- ./
spam.module, line 2227
Code
function spam_mail($subject, $message) {
$admin = user_load(array(
'uid' => 1,
));
drupal_mail('spam_mail', $admin->mail, $subject, wordwrap($message, 72), variable_get('site_mail', ini_get('sendmail_from')));
}