Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 2084-2087 (lines=4) @@
2081
        $result = '';
2082
        $ismultipart = true;
2083
        switch ($this->message_type) {
2084
            case 'inline':
2085
                $result .= $this->headerLine('Content-Type', 'multipart/related;');
2086
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2087
                break;
2088
            case 'attach':
2089
            case 'inline_attach':
2090
            case 'alt_attach':
@@ 2091-2094 (lines=4) @@
2088
            case 'attach':
2089
            case 'inline_attach':
2090
            case 'alt_attach':
2091
            case 'alt_inline_attach':
2092
                $result .= $this->headerLine('Content-Type', 'multipart/mixed;');
2093
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2094
                break;
2095
            case 'alt':
2096
            case 'alt_inline':
2097
                $result .= $this->headerLine('Content-Type', 'multipart/alternative;');
@@ 2096-2099 (lines=4) @@
2093
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2094
                break;
2095
            case 'alt':
2096
            case 'alt_inline':
2097
                $result .= $this->headerLine('Content-Type', 'multipart/alternative;');
2098
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2099
                break;
2100
            default:
2101
                // Catches case 'plain': and case '':
2102
                $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet);