|
@@ 352-354 (lines=3) @@
|
| 349 |
|
{ |
| 350 |
|
$message = array(); |
| 351 |
|
|
| 352 |
|
if (!empty($this->plainMessage) || !empty($this->htmlMessage)) { |
| 353 |
|
array_push($message, "--{$this->boundaryMixed}"); |
| 354 |
|
} |
| 355 |
|
|
| 356 |
|
if (!empty($this->plainMessage) && !empty($this->htmlMessage)) { |
| 357 |
|
array_push($message, "Content-Type: multipart/alternative; boundary={$this->boundaryAlternative}"); |
|
@@ 436-441 (lines=6) @@
|
| 433 |
|
$headers, |
| 434 |
|
"Content-Type: multipart/mixed; boundary=\"{$this->boundaryMixed}\"" |
| 435 |
|
); |
| 436 |
|
} elseif (!empty($this->plainMessage) && !empty($this->htmlMessage)) { |
| 437 |
|
array_push( |
| 438 |
|
$headers, |
| 439 |
|
"Content-Type: multipart/alternative; boundary=\"{$this->boundaryAlternative}\"" |
| 440 |
|
); |
| 441 |
|
} elseif (!empty($this->htmlMessage)) { |
| 442 |
|
array_push( |
| 443 |
|
$headers, |
| 444 |
|
'Content-type: text/html; charset="iso-8859-1"' |