|
@@ 2335-2338 (lines=4) @@
|
| 2332 |
|
$result = ''; |
| 2333 |
|
$ismultipart = true; |
| 2334 |
|
switch ($this->message_type) { |
| 2335 |
|
case 'inline': |
| 2336 |
|
$result .= $this->headerLine('Content-Type', 'multipart/related;'); |
| 2337 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2338 |
|
break; |
| 2339 |
|
case 'attach': |
| 2340 |
|
case 'inline_attach': |
| 2341 |
|
case 'alt_attach': |
|
@@ 2342-2345 (lines=4) @@
|
| 2339 |
|
case 'attach': |
| 2340 |
|
case 'inline_attach': |
| 2341 |
|
case 'alt_attach': |
| 2342 |
|
case 'alt_inline_attach': |
| 2343 |
|
$result .= $this->headerLine('Content-Type', 'multipart/mixed;'); |
| 2344 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2345 |
|
break; |
| 2346 |
|
case 'alt': |
| 2347 |
|
case 'alt_inline': |
| 2348 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
@@ 2347-2350 (lines=4) @@
|
| 2344 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2345 |
|
break; |
| 2346 |
|
case 'alt': |
| 2347 |
|
case 'alt_inline': |
| 2348 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
| 2349 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2350 |
|
break; |
| 2351 |
|
default: |
| 2352 |
|
// Catches case 'plain': and case '': |
| 2353 |
|
$result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); |