Skip to content

Commit

Permalink
Mail: Move config to correct class
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Sep 7, 2020
1 parent 75e0a64 commit 7fa365a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ final public function send(ilMimeMail $mail) : bool

$this->getMailer()->CharSet = 'utf-8';

$this->mailer->SMTPDebug = 4;
$this->mailer->Debugoutput = function ($message, $level) {
if (
strpos($message, 'Invalid address') !== false ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ protected function onBeforeSend() : void
$this->mailer->Password = $this->settings->get('mail_smtp_password');
}
$this->mailer->SMTPSecure = $this->settings->get('mail_smtp_encryption');
$this->mailer->SMTPDebug = 4;
}
}

0 comments on commit 7fa365a

Please sign in to comment.