function phpmailer_mail in PHPMailer 6
Same name and namespace in other branches
- 8.3 phpmailer.module \phpmailer_mail()
- 6.3 phpmailer.admin.inc \phpmailer_mail()
- 6.2 phpmailer.admin.inc \phpmailer_mail()
- 7.4 phpmailer.admin.inc \phpmailer_mail()
- 7.3 phpmailer.admin.inc \phpmailer_mail()
Implementation of hook_mail().
File
- ./
phpmailer.admin.inc, line 160 - Administrative functions for PHPMailer integration module.
Code
function phpmailer_mail($key, &$message, $params) {
$message['subject'] = t('PHPMailer test e-mail');
$message['body'][] = t('Your site is properly configured to send e-mails using the PHPMailer library.');
}