You are here

public function PHPMailer::__construct in SMTP Authentication Support 7.2

Same name and namespace in other branches
  1. 7 smtp.phpmailer.inc \PHPMailer::__construct()

Constructor

Parameters

boolean $exceptions Should we throw external exceptions?:

File

./smtp.phpmailer.inc, line 346
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

public function __construct($exceptions = FALSE) {
  $this->logging = variable_get('smtp_debugging', SMTP_LOGGING_ERRORS);
  $this->exceptions = $exceptions == TRUE;
}