|
@@ 2127-2130 (lines=4) @@
|
| 2124 |
|
$result = ''; |
| 2125 |
|
$ismultipart = true; |
| 2126 |
|
switch ($this->message_type) { |
| 2127 |
|
case 'inline': |
| 2128 |
|
$result .= $this->headerLine('Content-Type', 'multipart/related;'); |
| 2129 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2130 |
|
break; |
| 2131 |
|
case 'attach': |
| 2132 |
|
case 'inline_attach': |
| 2133 |
|
case 'alt_attach': |
|
@@ 2134-2137 (lines=4) @@
|
| 2131 |
|
case 'attach': |
| 2132 |
|
case 'inline_attach': |
| 2133 |
|
case 'alt_attach': |
| 2134 |
|
case 'alt_inline_attach': |
| 2135 |
|
$result .= $this->headerLine('Content-Type', 'multipart/mixed;'); |
| 2136 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2137 |
|
break; |
| 2138 |
|
case 'alt': |
| 2139 |
|
case 'alt_inline': |
| 2140 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
@@ 2139-2142 (lines=4) @@
|
| 2136 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2137 |
|
break; |
| 2138 |
|
case 'alt': |
| 2139 |
|
case 'alt_inline': |
| 2140 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
| 2141 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 2142 |
|
break; |
| 2143 |
|
default: |
| 2144 |
|
// Catches case 'plain': and case '': |
| 2145 |
|
$result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); |