Code Duplication    Length = 16-16 lines in 2 locations

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

@@ 2283-2298 (lines=16) @@
2280
                }
2281
                $body .= $this->endBoundary($this->boundary[1]);
2282
                break;
2283
            case 'alt_inline':
2284
                $body .= $mimepre;
2285
                $body .= $this->getBoundary($this->boundary[1], $altBodyCharSet, 'text/plain', $altBodyEncoding);
2286
                $body .= $this->encodeString($this->AltBody, $altBodyEncoding);
2287
                $body .= $this->LE . $this->LE;
2288
                $body .= $this->textLine('--' . $this->boundary[1]);
2289
                $body .= $this->headerLine('Content-Type', 'multipart/related;');
2290
                $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
2291
                $body .= $this->LE;
2292
                $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
2293
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2294
                $body .= $this->LE . $this->LE;
2295
                $body .= $this->attachAll('inline', $this->boundary[2]);
2296
                $body .= $this->LE;
2297
                $body .= $this->endBoundary($this->boundary[1]);
2298
                break;
2299
            case 'alt_attach':
2300
                $body .= $mimepre;
2301
                $body .= $this->textLine('--' . $this->boundary[1]);
@@ 2299-2314 (lines=16) @@
2296
                $body .= $this->LE;
2297
                $body .= $this->endBoundary($this->boundary[1]);
2298
                break;
2299
            case 'alt_attach':
2300
                $body .= $mimepre;
2301
                $body .= $this->textLine('--' . $this->boundary[1]);
2302
                $body .= $this->headerLine('Content-Type', 'multipart/alternative;');
2303
                $body .= $this->textLine("\tboundary=\"" . $this->boundary[2] . '"');
2304
                $body .= $this->LE;
2305
                $body .= $this->getBoundary($this->boundary[2], $altBodyCharSet, 'text/plain', $altBodyEncoding);
2306
                $body .= $this->encodeString($this->AltBody, $altBodyEncoding);
2307
                $body .= $this->LE . $this->LE;
2308
                $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
2309
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2310
                $body .= $this->LE . $this->LE;
2311
                $body .= $this->endBoundary($this->boundary[2]);
2312
                $body .= $this->LE;
2313
                $body .= $this->attachAll('attachment', $this->boundary[1]);
2314
                break;
2315
            case 'alt_inline_attach':
2316
                $body .= $mimepre;
2317
                $body .= $this->textLine('--' . $this->boundary[1]);