Update Email.php
Adding debugging and option to chose wheter auth is TRUE or FALSE
This commit is contained in:
parent
1700605b7b
commit
1994184a88
1 changed files with 2 additions and 1 deletions
|
@ -315,8 +315,9 @@ class Email {
|
|||
if ($this->config['protocol'] === 'smtp')
|
||||
{
|
||||
$mailer->isSMTP();
|
||||
$mailer->SMTPDebug = $this->config['smtp_debug'];
|
||||
$mailer->Host = $this->config['smtp_host'];
|
||||
$mailer->SMTPAuth = TRUE;
|
||||
$mailer->SMTPAuth = $this->config['smtp_auth'];
|
||||
$mailer->Username = $this->config['smtp_user'];
|
||||
$mailer->Password = $this->config['smtp_pass'];
|
||||
$mailer->SMTPSecure = $this->config['smtp_crypto'];
|
||||
|
|
Loading…
Reference in a new issue