@@ 2351-2354 (lines=4) @@ | ||
2348 | $result = ''; |
|
2349 | $ismultipart = true; |
|
2350 | switch ($this->message_type) { |
|
2351 | case 'inline': |
|
2352 | $result .= $this->headerLine('Content-Type', 'multipart/related;'); |
|
2353 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
2354 | break; |
|
2355 | case 'attach': |
|
2356 | case 'inline_attach': |
|
2357 | case 'alt_attach': |
|
@@ 2358-2361 (lines=4) @@ | ||
2355 | case 'attach': |
|
2356 | case 'inline_attach': |
|
2357 | case 'alt_attach': |
|
2358 | case 'alt_inline_attach': |
|
2359 | $result .= $this->headerLine('Content-Type', 'multipart/mixed;'); |
|
2360 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
2361 | break; |
|
2362 | case 'alt': |
|
2363 | case 'alt_inline': |
|
2364 | $result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
@@ 2363-2366 (lines=4) @@ | ||
2360 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
2361 | break; |
|
2362 | case 'alt': |
|
2363 | case 'alt_inline': |
|
2364 | $result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
2365 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
2366 | break; |
|
2367 | default: |
|
2368 | // Catches case 'plain': and case '': |
|
2369 | $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); |