You are here

protected function PHPMailer::doCallback in SMTP Authentication Support 7

Same name and namespace in other branches
  1. 7.2 smtp.phpmailer.inc \PHPMailer::doCallback()
2 calls to PHPMailer::doCallback()
PHPMailer::MailSend in ./smtp.phpmailer.inc
Sends mail using the PHP mail() function.
PHPMailer::SmtpSend in ./smtp.phpmailer.inc
Sends mail via SMTP using PhpSMTP Returns FALSE if there is a bad MAIL FROM, RCPT, or DATA input.

File

./smtp.phpmailer.inc, line 2318
The mail handler class in smtp module, based on code of the phpmailer library, customized and relicensed to GPLv2.

Class

PHPMailer
PHPMailer - PHP email transport class NOTE: Requires PHP version 5 or later @package PHPMailer @author Andy Prevost @author Marcus Bointon @copyright 2004 - 2009 Andy Prevost

Code

protected function doCallback($isSent, $to, $cc, $bcc, $subject, $body) {
  if (!empty($this->action_function) && function_exists($this->action_function)) {
    $params = array(
      $isSent,
      $to,
      $cc,
      $bcc,
      $subject,
      $body,
    );
    call_user_func_array($this->action_function, $params);
  }
}