function phpmailer_mail in PHPMailer 8.3
Same name and namespace in other branches
- 6.3 phpmailer.admin.inc \phpmailer_mail()
- 6 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.module, line 77 - Integrates the PHPMailer library for SMTP e-mail delivery.
Code
function phpmailer_mail($key, &$message, $params) {
switch ($key) {
case 'test':
$message['subject'] = (string) t('PHPMailer test email');
$message['body'][] = (string) t('Your site is properly configured to send emails using the <strong>PHPMailer</strong> library.');
break;
}
}