|
@@ 383-384 (lines=2) @@
|
| 380 |
|
$headers .= "{$key}: {$value}" . self::LINE_BREAK; |
| 381 |
|
} |
| 382 |
|
|
| 383 |
|
if(count($this->cc) > 0) |
| 384 |
|
$headers .= 'CC: ' . implode(', ', $this->cc) . self::LINE_BREAK; |
| 385 |
|
if(count($this->bcc) > 0) |
| 386 |
|
$headers .= 'BCC: ' . implode(', ', $this->bcc) . self::LINE_BREAK; |
| 387 |
|
|
|
@@ 385-386 (lines=2) @@
|
| 382 |
|
|
| 383 |
|
if(count($this->cc) > 0) |
| 384 |
|
$headers .= 'CC: ' . implode(', ', $this->cc) . self::LINE_BREAK; |
| 385 |
|
if(count($this->bcc) > 0) |
| 386 |
|
$headers .= 'BCC: ' . implode(', ', $this->bcc) . self::LINE_BREAK; |
| 387 |
|
|
| 388 |
|
if(isset($this->attachments) && count($this->attachments) > 0) |
| 389 |
|
$headers .= "Content-Type: multipart/mixed; boundary=\"{$this->getBoundary()}\""; |