Code Duplication    Length = 4-5 lines in 2 locations

www/app/model/PHPMailer/PHPMailer/PHPMailer.php 2 locations

@@ 2500-2504 (lines=5) @@
2497
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, 'text/html', $bodyEncoding);
2498
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2499
                $body .= static::$LE;
2500
                if (!empty($this->Ical)) {
2501
                    $body .= $this->getBoundary($this->boundary[1], '', 'text/calendar; method=REQUEST', '');
2502
                    $body .= $this->encodeString($this->Ical, $this->Encoding);
2503
                    $body .= static::$LE;
2504
                }
2505
                $body .= $this->endBoundary($this->boundary[1]);
2506
                break;
2507
            case 'alt_inline':
@@ 2535-2538 (lines=4) @@
2532
                $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
2533
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2534
                $body .= static::$LE;
2535
                if (!empty($this->Ical)) {
2536
                    $body .= $this->getBoundary($this->boundary[2], '', 'text/calendar; method=REQUEST', '');
2537
                    $body .= $this->encodeString($this->Ical, $this->Encoding);
2538
                }
2539
                $body .= $this->endBoundary($this->boundary[2]);
2540
                $body .= static::$LE;
2541
                $body .= $this->attachAll('attachment', $this->boundary[1]);