Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 2130-2136 (lines=7) @@
2127
        //Use this as a preamble in all multipart message types
2128
        $mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE;
2129
        switch ($this->message_type) {
2130
            case 'inline':
2131
                $body .= $mimepre;
2132
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
2133
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2134
                $body .= $this->LE . $this->LE;
2135
                $body .= $this->attachAll('inline', $this->boundary[1]);
2136
                break;
2137
            case 'attach':
2138
                $body .= $mimepre;
2139
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
@@ 2137-2143 (lines=7) @@
2134
                $body .= $this->LE . $this->LE;
2135
                $body .= $this->attachAll('inline', $this->boundary[1]);
2136
                break;
2137
            case 'attach':
2138
                $body .= $mimepre;
2139
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
2140
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2141
                $body .= $this->LE . $this->LE;
2142
                $body .= $this->attachAll('attachment', $this->boundary[1]);
2143
                break;
2144
            case 'inline_attach':
2145
                $body .= $mimepre;
2146
                $body .= $this->textLine('--' . $this->boundary[1]);