Fix MailSender
This commit is contained in:
parent
6fd392bc15
commit
09b7a049ed
|
@ -67,7 +67,7 @@ class MailSender {
|
||||||
|
|
||||||
$this->mailerInstance->isSMTP();
|
$this->mailerInstance->isSMTP();
|
||||||
$this->mailerInstance->Host = $this->mailOptions['smtp-host'];
|
$this->mailerInstance->Host = $this->mailOptions['smtp-host'];
|
||||||
if($this->mailerInstance->Username !== '') {
|
if($this->mailOptions['smtp-user'] !== '') {
|
||||||
$this->mailerInstance->SMTPAuth = true;
|
$this->mailerInstance->SMTPAuth = true;
|
||||||
$this->mailerInstance->Username = $this->mailOptions['smtp-user'];
|
$this->mailerInstance->Username = $this->mailOptions['smtp-user'];
|
||||||
$this->mailerInstance->Password = $this->mailOptions['smtp-pass'];
|
$this->mailerInstance->Password = $this->mailOptions['smtp-pass'];
|
||||||
|
|
Loading…
Reference in New Issue