/** * Take an e-mail and configure it. * @param $mail object PHPMailer object * @return object same PHPMailer object * @see li3_phpmailer\Transport::config() */ public function config(&$mail) { $mail->IsSMTP(); $mail->SMTPKeepAlive = true; if (isset($this->_config['username'])) { $mail->SMTPAuth = true; } return parent::config($mail); }
/** * @see li3_phpmailer\Transport::config() */ public function config(&$mail) { $mail->IsSendMail(); return parent::config($mail); }