@@ 2172-2187 (lines=16) @@ | ||
2169 | } |
|
2170 | $body .= $this->endBoundary($this->boundary[1]); |
|
2171 | break; |
|
2172 | case 'alt_inline': |
|
2173 | $body .= $mimepre; |
|
2174 | $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding); |
|
2175 | $body .= $this->encodeString($this->AltBody, $altBodyEncoding); |
|
2176 | $body .= $this->LE . $this->LE; |
|
2177 | $body .= $this->textLine('--' . $this->boundary[1]); |
|
2178 | $body .= $this->headerLine('Content-Type', 'multipart/related;'); |
|
2179 | $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); |
|
2180 | $body .= $this->LE; |
|
2181 | $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); |
|
2182 | $body .= $this->encodeString($this->Body, $bodyEncoding); |
|
2183 | $body .= $this->LE . $this->LE; |
|
2184 | $body .= $this->attachAll('inline', $this->boundary[2]); |
|
2185 | $body .= $this->LE; |
|
2186 | $body .= $this->endBoundary($this->boundary[1]); |
|
2187 | break; |
|
2188 | case 'alt_attach': |
|
2189 | $body .= $mimepre; |
|
2190 | $body .= $this->textLine('--' . $this->boundary[1]); |
|
@@ 2188-2203 (lines=16) @@ | ||
2185 | $body .= $this->LE; |
|
2186 | $body .= $this->endBoundary($this->boundary[1]); |
|
2187 | break; |
|
2188 | case 'alt_attach': |
|
2189 | $body .= $mimepre; |
|
2190 | $body .= $this->textLine('--' . $this->boundary[1]); |
|
2191 | $body .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
2192 | $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"'); |
|
2193 | $body .= $this->LE; |
|
2194 | $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding); |
|
2195 | $body .= $this->encodeString($this->AltBody, $altBodyEncoding); |
|
2196 | $body .= $this->LE . $this->LE; |
|
2197 | $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding); |
|
2198 | $body .= $this->encodeString($this->Body, $bodyEncoding); |
|
2199 | $body .= $this->LE . $this->LE; |
|
2200 | $body .= $this->endBoundary($this->boundary[2]); |
|
2201 | $body .= $this->LE; |
|
2202 | $body .= $this->attachAll('attachment', $this->boundary[1]); |
|
2203 | break; |
|
2204 | case 'alt_inline_attach': |
|
2205 | $body .= $mimepre; |
|
2206 | $body .= $this->textLine('--' . $this->boundary[1]); |