Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 2241-2247 (lines=7) @@
2238
        //Use this as a preamble in all multipart message types
2239
        $mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE;
2240
        switch ($this->message_type) {
2241
            case 'inline':
2242
                $body .= $mimepre;
2243
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
2244
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2245
                $body .= $this->LE . $this->LE;
2246
                $body .= $this->attachAll('inline', $this->boundary[1]);
2247
                break;
2248
            case 'attach':
2249
                $body .= $mimepre;
2250
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
@@ 2248-2254 (lines=7) @@
2245
                $body .= $this->LE . $this->LE;
2246
                $body .= $this->attachAll('inline', $this->boundary[1]);
2247
                break;
2248
            case 'attach':
2249
                $body .= $mimepre;
2250
                $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
2251
                $body .= $this->encodeString($this->Body, $bodyEncoding);
2252
                $body .= $this->LE . $this->LE;
2253
                $body .= $this->attachAll('attachment', $this->boundary[1]);
2254
                break;
2255
            case 'inline_attach':
2256
                $body .= $mimepre;
2257
                $body .= $this->textLine('--' . $this->boundary[1]);