@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | */ |
161 | 161 | protected function sendMail($headers, $message) |
162 | 162 | { |
163 | - if (mail(implode(',', $this->recipients), $this->subject,$headers, $message)) { |
|
163 | + if (mail(implode(',', $this->recipients), $this->subject, $headers, $message)) { |
|
164 | 164 | return true; |
165 | 165 | } |
166 | 166 | return false; |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | $headers = 'MIME-Version: 1.0' . PHP_EOL; |
187 | 187 | |
188 | 188 | if (!empty($this->from)) { |
189 | - $headers .= 'From: ' .$this->from . PHP_EOL; |
|
189 | + $headers .= 'From: ' . $this->from . PHP_EOL; |
|
190 | 190 | } |
191 | 191 | |
192 | 192 | if (!empty($this->replyTo)) { |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | } |
245 | 245 | |
246 | 246 | $body .= 'Content-Transfer-Encoding: base64' . PHP_EOL; |
247 | - $body .= 'X-Attachment-Id: ' . rand(1000,99999) . PHP_EOL . PHP_EOL; |
|
247 | + $body .= 'X-Attachment-Id: ' . rand(1000, 99999) . PHP_EOL . PHP_EOL; |
|
248 | 248 | $body .= $encodedContent; |
249 | 249 | |
250 | 250 | } |