function smtp_mail in SMTP Authentication Support 8
Same name and namespace in other branches
- 6 smtp.module \smtp_mail()
- 7.2 smtp.module \smtp_mail()
- 7 smtp.module \smtp_mail()
Implements hook_mail().
File
- ./
smtp.module, line 33 - Enables Drupal to send e-mail directly to an SMTP server.
Code
function smtp_mail($key, &$message, $params) {
if ($key == 'smtp-test') {
$message['subject'] = $params['subject'];
$message['body'] = $params['body'];
}
}