Few improvments

This commit is contained in:
osaajani 2020-05-19 05:00:35 +02:00
parent a8410b1b6a
commit 87301827bd
4 changed files with 12 additions and 10 deletions

View file

@ -22,7 +22,8 @@ class Mailer extends \descartes\Controller
$this->log->pushHandler(new StreamHandler(PWD_LOGS . '/mail.log', Logger::DEBUG));
$this->mail = new PHPMailer(true);
$this->mail->SMTPDebug = SMTP::DEBUG_OFF;
$this->mail->CharSet = 'utf-8';
$this->mail->SMTPDebug = SMTP::DEBUG_OFF;
$this->mail->isSMTP();
$this->mail->Host = MAIL['SMTP']['HOST'];
$this->mail->SMTPAuth = true;