@@ -338,11 +338,11 @@ discard block |
||
338 | 338 | $rawMessage .= 'From: '.$this->encodeRecipients($from)."\n"; |
339 | 339 | if(!empty($this->cc)) |
340 | 340 | { |
341 | - $rawMessage .= 'CC: '. $this->encodeRecipients($this->getCCAddresses())."\n"; |
|
341 | + $rawMessage .= 'CC: '.$this->encodeRecipients($this->getCCAddresses())."\n"; |
|
342 | 342 | } |
343 | 343 | if(!empty($this->bcc)) |
344 | 344 | { |
345 | - $rawMessage .= 'BCC: '. $this->encodeRecipients($this->getBCCAddresses())."\n"; |
|
345 | + $rawMessage .= 'BCC: '.$this->encodeRecipients($this->getBCCAddresses())."\n"; |
|
346 | 346 | } |
347 | 347 | $rawMessage .= 'Subject: '.$this->getSubject()."\n"; |
348 | 348 | $rawMessage .= 'MIME-Version: 1.0'."\n"; |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | $rawMessage .= "Content-Type: text/plain\n\n"; |
357 | 357 | $rawMessage .= $textBody."\n"; |
358 | 358 | } |
359 | - $htmlBody = $this->getHTMLBody(); |
|
359 | + $htmlBody = $this->getHTMLBody(); |
|
360 | 360 | if($htmlBody !== false && strlen($htmlBody) > 0) |
361 | 361 | { |
362 | 362 | $rawMessage .= "\n--alt-{$boundary}\n"; |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | foreach($this->attachments as $attachment) |
368 | 368 | { |
369 | 369 | $rawMessage .= "\n--{$boundary}\n"; |
370 | - $rawMessage .= 'Content-Type: '. $attachment['mimeType'].'; name="'.$attachment['name']."\"\n"; |
|
370 | + $rawMessage .= 'Content-Type: '.$attachment['mimeType'].'; name="'.$attachment['name']."\"\n"; |
|
371 | 371 | $rawMessage .= 'Content-Disposition: attachment'."\n"; |
372 | 372 | $rawMessage .= 'Content-Transfer-Encoding: base64'."\n\n"; |
373 | 373 | $rawMessage .= chunk_split(base64_encode($attachment['data']), 76, "\n")."\n"; |