Code Duplication    Length = 7-7 lines in 2 locations

includes/libraries/Email/Phpmailer/class.phpmailer.php 2 locations

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