| @@ -99,14 +99,14 @@ discard block | ||
| 99 | 99 | |
| 100 | 100 |          try { | 
| 101 | 101 | //Server settings | 
| 102 | - $mail->SMTPDebug = $this->config['debug']; // Enable verbose debug output | |
| 103 | - $mail->isSMTP(); // Set mailer to use SMTP | |
| 104 | - $mail->Host = $this->config['host']; // Specify main and backup SMTP servers | |
| 105 | - $mail->SMTPAuth = true; // Enable SMTP authentication | |
| 106 | - $mail->Username = $this->config['username']; // SMTP username | |
| 107 | - $mail->Password = $this->config['password']; // SMTP password | |
| 108 | - $mail->SMTPSecure = $this->config['SMTPSecure']; // Enable TLS encryption, `ssl` also accepted | |
| 109 | - $mail->Port = $this->config['port']; // TCP port to connect to | |
| 102 | + $mail->SMTPDebug = $this->config['debug']; // Enable verbose debug output | |
| 103 | + $mail->isSMTP(); // Set mailer to use SMTP | |
| 104 | + $mail->Host = $this->config['host']; // Specify main and backup SMTP servers | |
| 105 | + $mail->SMTPAuth = true; // Enable SMTP authentication | |
| 106 | + $mail->Username = $this->config['username']; // SMTP username | |
| 107 | + $mail->Password = $this->config['password']; // SMTP password | |
| 108 | + $mail->SMTPSecure = $this->config['SMTPSecure']; // Enable TLS encryption, `ssl` also accepted | |
| 109 | + $mail->Port = $this->config['port']; // TCP port to connect to | |
| 110 | 110 | $mail->CharSet = 'UTF-8'; | 
| 111 | 111 | $mail->SMTPOptions = $this->config['SMTPOptions']; | 
| 112 | 112 | //Recipients | 
| @@ -148,7 +148,7 @@ discard block | ||
| 148 | 148 | } | 
| 149 | 149 | } | 
| 150 | 150 | // Content | 
| 151 | - $mail->isHTML(true); // Set email format to HTML | |
| 151 | + $mail->isHTML(true); // Set email format to HTML | |
| 152 | 152 | $mail->Subject = $msg['subject']; | 
| 153 | 153 | $mail->Body = $msg['body']; | 
| 154 | 154 | |