public function __construct($exceptions = null) { if ($exceptions !== null) { $this->exceptions = (bool) $exceptions; } }
public function __construct() { // use PHPMailer with exceptions parent::__construct(true); // allow an "empty" body to be sent $this->AllowEmpty = true; }