Code Duplication    Length = 4-4 lines in 3 locations

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

@@ 2025-2028 (lines=4) @@
2022
        $result = '';
2023
        $ismultipart = true;
2024
        switch ($this->message_type) {
2025
            case 'inline':
2026
                $result .= $this->headerLine('Content-Type', 'multipart/related;');
2027
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2028
                break;
2029
            case 'attach':
2030
            case 'inline_attach':
2031
            case 'alt_attach':
@@ 2032-2035 (lines=4) @@
2029
            case 'attach':
2030
            case 'inline_attach':
2031
            case 'alt_attach':
2032
            case 'alt_inline_attach':
2033
                $result .= $this->headerLine('Content-Type', 'multipart/mixed;');
2034
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2035
                break;
2036
            case 'alt':
2037
            case 'alt_inline':
2038
                $result .= $this->headerLine('Content-Type', 'multipart/alternative;');
@@ 2037-2040 (lines=4) @@
2034
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2035
                break;
2036
            case 'alt':
2037
            case 'alt_inline':
2038
                $result .= $this->headerLine('Content-Type', 'multipart/alternative;');
2039
                $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"');
2040
                break;
2041
            default:
2042
                // Catches case 'plain': and case '':
2043
                $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet);