You are here

function phpmailer_mail in PHPMailer 6.2

Same name and namespace in other branches
  1. 8.3 phpmailer.module \phpmailer_mail()
  2. 6.3 phpmailer.admin.inc \phpmailer_mail()
  3. 6 phpmailer.admin.inc \phpmailer_mail()
  4. 7.4 phpmailer.admin.inc \phpmailer_mail()
  5. 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.');
}