Code Duplication    Length = 16-16 lines in 2 locations

htdocs/class/mail/phpmailer/class.phpmailer.php 2 locations

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