Fix MailSender

This commit is contained in:
Ivan Diaz 2020-05-16 17:18:52 -03:00 committed by GitHub
parent 6fd392bc15
commit 09b7a049ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class MailSender {
$this->mailerInstance->isSMTP();
$this->mailerInstance->Host = $this->mailOptions['smtp-host'];
if($this->mailerInstance->Username !== '') {
if($this->mailOptions['smtp-user'] !== '') {
$this->mailerInstance->SMTPAuth = true;
$this->mailerInstance->Username = $this->mailOptions['smtp-user'];
$this->mailerInstance->Password = $this->mailOptions['smtp-pass'];