|
@@ -160,14 +160,14 @@ |
|
|
block discarded – undo |
|
160
|
160
|
|
|
161
|
161
|
try { |
|
162
|
162
|
//Server settings |
|
163
|
|
- $mail->SMTPDebug = $this->config['debug']; // Enable verbose debug output |
|
164
|
|
- $mail->isSMTP(); // Set mailer to use SMTP |
|
165
|
|
- $mail->Host = $this->config['host']; // Specify main and backup SMTP servers |
|
166
|
|
- $mail->SMTPAuth = true; // Enable SMTP authentication |
|
167
|
|
- $mail->Username = $this->config['username']; // SMTP username |
|
168
|
|
- $mail->Password = $this->config['password']; // SMTP password |
|
169
|
|
- $mail->SMTPSecure = $this->config['SMTPSecure']; // Enable TLS encryption, `ssl` also accepted |
|
170
|
|
- $mail->Port = $this->config['port']; // TCP port to connect to |
|
|
163
|
+ $mail->SMTPDebug = $this->config['debug']; // Enable verbose debug output |
|
|
164
|
+ $mail->isSMTP(); // Set mailer to use SMTP |
|
|
165
|
+ $mail->Host = $this->config['host']; // Specify main and backup SMTP servers |
|
|
166
|
+ $mail->SMTPAuth = true; // Enable SMTP authentication |
|
|
167
|
+ $mail->Username = $this->config['username']; // SMTP username |
|
|
168
|
+ $mail->Password = $this->config['password']; // SMTP password |
|
|
169
|
+ $mail->SMTPSecure = $this->config['SMTPSecure']; // Enable TLS encryption, `ssl` also accepted |
|
|
170
|
+ $mail->Port = $this->config['port']; // TCP port to connect to |
|
171
|
171
|
$mail->CharSet = 'UTF-8'; |
|
172
|
172
|
$mail->SMTPOptions = $this->config['SMTPOptions']; |
|
173
|
173
|
//Recipients |
Please login to merge, or discard this patch.