@@ 2240-2255 (lines=16) @@ | ||
2237 | } |
|
2238 | $body .= $this->endBoundary($this->boundary[1]); |
|
2239 | break; |
|
2240 | case 'alt_inline': |
|
2241 | $body .= $mimepre; |
|
2242 | $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding); |
|
2243 | $body .= $this->encodeString($this->AltBody, $altBodyEncoding); |
|
2244 | $body .= $this->LE . $this->LE; |
|
2245 | $body .= $this->textLine('--' . $this->boundary[1]); |
|
2246 | $body .= $this->headerLine('Content-Type', 'multipart/related;'); |
|
2247 | $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); |
|
2248 | $body .= $this->LE; |
|
2249 | $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); |
|
2250 | $body .= $this->encodeString($this->Body, $bodyEncoding); |
|
2251 | $body .= $this->LE . $this->LE; |
|
2252 | $body .= $this->attachAll('inline', $this->boundary[2]); |
|
2253 | $body .= $this->LE; |
|
2254 | $body .= $this->endBoundary($this->boundary[1]); |
|
2255 | break; |
|
2256 | case 'alt_attach': |
|
2257 | $body .= $mimepre; |
|
2258 | $body .= $this->textLine('--' . $this->boundary[1]); |
|
@@ 2256-2271 (lines=16) @@ | ||
2253 | $body .= $this->LE; |
|
2254 | $body .= $this->endBoundary($this->boundary[1]); |
|
2255 | break; |
|
2256 | case 'alt_attach': |
|
2257 | $body .= $mimepre; |
|
2258 | $body .= $this->textLine('--' . $this->boundary[1]); |
|
2259 | $body .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
2260 | $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); |
|
2261 | $body .= $this->LE; |
|
2262 | $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding); |
|
2263 | $body .= $this->encodeString($this->AltBody, $altBodyEncoding); |
|
2264 | $body .= $this->LE . $this->LE; |
|
2265 | $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); |
|
2266 | $body .= $this->encodeString($this->Body, $bodyEncoding); |
|
2267 | $body .= $this->LE . $this->LE; |
|
2268 | $body .= $this->endBoundary($this->boundary[2]); |
|
2269 | $body .= $this->LE; |
|
2270 | $body .= $this->attachAll('attachment', $this->boundary[1]); |
|
2271 | break; |
|
2272 | case 'alt_inline_attach': |
|
2273 | $body .= $mimepre; |
|
2274 | $body .= $this->textLine('--' . $this->boundary[1]); |