|
@@ 1971-1974 (lines=4) @@
|
| 1968 |
|
$result = ''; |
| 1969 |
|
$ismultipart = true; |
| 1970 |
|
switch ($this->message_type) { |
| 1971 |
|
case 'inline': |
| 1972 |
|
$result .= $this->headerLine('Content-Type', 'multipart/related;'); |
| 1973 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 1974 |
|
break; |
| 1975 |
|
case 'attach': |
| 1976 |
|
case 'inline_attach': |
| 1977 |
|
case 'alt_attach': |
|
@@ 1978-1981 (lines=4) @@
|
| 1975 |
|
case 'attach': |
| 1976 |
|
case 'inline_attach': |
| 1977 |
|
case 'alt_attach': |
| 1978 |
|
case 'alt_inline_attach': |
| 1979 |
|
$result .= $this->headerLine('Content-Type', 'multipart/mixed;'); |
| 1980 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 1981 |
|
break; |
| 1982 |
|
case 'alt': |
| 1983 |
|
case 'alt_inline': |
| 1984 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
@@ 1983-1986 (lines=4) @@
|
| 1980 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 1981 |
|
break; |
| 1982 |
|
case 'alt': |
| 1983 |
|
case 'alt_inline': |
| 1984 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
| 1985 |
|
$result .= $this->textLine("\tboundary=\"" . $this->boundary[1] . '"'); |
| 1986 |
|
break; |
| 1987 |
|
default: |
| 1988 |
|
// Catches case 'plain': and case '': |
| 1989 |
|
$result .= $this->textLine('Content-Type: ' . $this->ContentType . '; charset=' . $this->CharSet); |