|
@@ 334-336 (lines=3) @@
|
| 331 |
|
{ |
| 332 |
|
$message = array(); |
| 333 |
|
|
| 334 |
|
if (!empty($this->plainMessage) || !empty($this->htmlMessage)) { |
| 335 |
|
array_push($message, "--{$this->boundaryMixed}"); |
| 336 |
|
} |
| 337 |
|
|
| 338 |
|
if (!empty($this->plainMessage) && !empty($this->htmlMessage)) { |
| 339 |
|
array_push($message, "Content-Type: multipart/alternative; boundary={$this->boundaryAlternative}"); |
|
@@ 418-423 (lines=6) @@
|
| 415 |
|
$headers, |
| 416 |
|
"Content-Type: multipart/mixed; boundary=\"{$this->boundaryMixed}\"" |
| 417 |
|
); |
| 418 |
|
} elseif (!empty($this->plainMessage) && !empty($this->htmlMessage)) { |
| 419 |
|
array_push( |
| 420 |
|
$headers, |
| 421 |
|
"Content-Type: multipart/alternative; boundary=\"{$this->boundaryAlternative}\"" |
| 422 |
|
); |
| 423 |
|
} elseif (!empty($this->htmlMessage)) { |
| 424 |
|
array_push( |
| 425 |
|
$headers, |
| 426 |
|
'Content-type: text/html; charset="iso-8859-1"' |