Code Duplication    Length = 6-6 lines in 2 locations

lib/Ajde/Mailer/class.phpmailer.php 2 locations

@@ 1887-1892 (lines=6) @@
1884
        $this->setWordWrap();
1885
1886
        switch ($this->message_type) {
1887
            case 'inline':
1888
                $body .= $this->getBoundary($this->boundary[1], '', '', '');
1889
                $body .= $this->encodeString($this->Body, $this->Encoding);
1890
                $body .= $this->LE.$this->LE;
1891
                $body .= $this->attachAll('inline', $this->boundary[1]);
1892
                break;
1893
            case 'attach':
1894
                $body .= $this->getBoundary($this->boundary[1], '', '', '');
1895
                $body .= $this->encodeString($this->Body, $this->Encoding);
@@ 1893-1898 (lines=6) @@
1890
                $body .= $this->LE.$this->LE;
1891
                $body .= $this->attachAll('inline', $this->boundary[1]);
1892
                break;
1893
            case 'attach':
1894
                $body .= $this->getBoundary($this->boundary[1], '', '', '');
1895
                $body .= $this->encodeString($this->Body, $this->Encoding);
1896
                $body .= $this->LE.$this->LE;
1897
                $body .= $this->attachAll('attachment', $this->boundary[1]);
1898
                break;
1899
            case 'inline_attach':
1900
                $body .= $this->textLine('--'.$this->boundary[1]);
1901
                $body .= $this->headerLine('Content-Type', 'multipart/related;');