@@ 1871-1874 (lines=4) @@ | ||
1868 | $result = ''; |
|
1869 | $ismultipart = true; |
|
1870 | switch ($this->message_type) { |
|
1871 | case 'inline': |
|
1872 | $result .= $this->headerLine('Content-Type', 'multipart/related;'); |
|
1873 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
1874 | break; |
|
1875 | case 'attach': |
|
1876 | case 'inline_attach': |
|
1877 | case 'alt_attach': |
|
@@ 1878-1881 (lines=4) @@ | ||
1875 | case 'attach': |
|
1876 | case 'inline_attach': |
|
1877 | case 'alt_attach': |
|
1878 | case 'alt_inline_attach': |
|
1879 | $result .= $this->headerLine('Content-Type', 'multipart/mixed;'); |
|
1880 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
1881 | break; |
|
1882 | case 'alt': |
|
1883 | case 'alt_inline': |
|
1884 | $result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
@@ 1883-1886 (lines=4) @@ | ||
1880 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
1881 | break; |
|
1882 | case 'alt': |
|
1883 | case 'alt_inline': |
|
1884 | $result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
1885 | $result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
|
1886 | break; |
|
1887 | default: |
|
1888 | // Catches case 'plain': and case '': |
|
1889 | $result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); |