function smtp_mail in SMTP Authentication Support 6
Same name and namespace in other branches
- 8 smtp.module \smtp_mail()
- 7.2 smtp.module \smtp_mail()
- 7 smtp.module \smtp_mail()
Implementation of hook_mail().
File
- ./
smtp.module, line 825 - 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'];
}
}