function phpmailer_mail in PHPMailer 6.2
Same name and namespace in other branches
- 8.3 phpmailer.module \phpmailer_mail()
- 6.3 phpmailer.admin.inc \phpmailer_mail()
- 6 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 215 - 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.');
}