diff --git a/application/common/library/Email.php b/application/common/library/Email.php index bad0fc1ccffff8abdcb0c7dee08003a4c2f8e2e0..8d186fc35e22e4753c3be8c2fa7389ba51b826f7 100644 --- a/application/common/library/Email.php +++ b/application/common/library/Email.php @@ -62,7 +62,7 @@ class Email $secureArr = [0 => '', 1 => 'tls', 2 => 'ssl']; $secure = isset($secureArr[$this->options['mail_verify_type']]) ? $secureArr[$this->options['mail_verify_type']] : ''; - $this->mail = new Mailer(new Log); + $this->mail = new Mailer(); $this->mail->setServer($this->options['mail_smtp_host'], $this->options['mail_smtp_port'], $secure); $this->mail->setAuth($this->options['mail_from'], $this->options['mail_smtp_pass']);