Code Duplication    Length = 4-5 lines in 2 locations

manager/includes/controls/phpmailer/PHPMailer.php 2 locations

@@ 2516-2520 (lines=5) @@
2513
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, 'text/html', $bodyEncoding);
2514
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2515
                $body .= static::$LE;
2516
                if (!empty($this->Ical)) {
2517
                    $body .= $this->getBoundary($this->boundary[1], '', 'text/calendar; method=REQUEST', '');
2518
                    $body .= $this->encodeString($this->Ical, $this->Encoding);
2519
                    $body .= static::$LE;
2520
                }
2521
                $body .= $this->endBoundary($this->boundary[1]);
2522
                break;
2523
            case 'alt_inline':
@@ 2551-2554 (lines=4) @@
2548
                $body .= $this->getBoundary($this->boundary[2], $bodyCharSet, 'text/html', $bodyEncoding);
2549
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2550
                $body .= static::$LE;
2551
                if (!empty($this->Ical)) {
2552
                    $body .= $this->getBoundary($this->boundary[2], '', 'text/calendar; method=REQUEST', '');
2553
                    $body .= $this->encodeString($this->Ical, $this->Encoding);
2554
                }
2555
                $body .= $this->endBoundary($this->boundary[2]);
2556
                $body .= static::$LE;
2557
                $body .= $this->attachAll('attachment', $this->boundary[1]);