|
@@ 1821-1824 (lines=4) @@
|
| 1818 |
|
{ |
| 1819 |
|
$result = ''; |
| 1820 |
|
switch ($this->message_type) { |
| 1821 |
|
case 'inline': |
| 1822 |
|
$result .= $this->headerLine('Content-Type', 'multipart/related;'); |
| 1823 |
|
$result .= $this->textLine("\tboundary=\"".$this->boundary[1].'"'); |
| 1824 |
|
break; |
| 1825 |
|
case 'attach': |
| 1826 |
|
case 'inline_attach': |
| 1827 |
|
case 'alt_attach': |
|
@@ 1828-1831 (lines=4) @@
|
| 1825 |
|
case 'attach': |
| 1826 |
|
case 'inline_attach': |
| 1827 |
|
case 'alt_attach': |
| 1828 |
|
case 'alt_inline_attach': |
| 1829 |
|
$result .= $this->headerLine('Content-Type', 'multipart/mixed;'); |
| 1830 |
|
$result .= $this->textLine("\tboundary=\"".$this->boundary[1].'"'); |
| 1831 |
|
break; |
| 1832 |
|
case 'alt': |
| 1833 |
|
case 'alt_inline': |
| 1834 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
|
@@ 1833-1836 (lines=4) @@
|
| 1830 |
|
$result .= $this->textLine("\tboundary=\"".$this->boundary[1].'"'); |
| 1831 |
|
break; |
| 1832 |
|
case 'alt': |
| 1833 |
|
case 'alt_inline': |
| 1834 |
|
$result .= $this->headerLine('Content-Type', 'multipart/alternative;'); |
| 1835 |
|
$result .= $this->textLine("\tboundary=\"".$this->boundary[1].'"'); |
| 1836 |
|
break; |
| 1837 |
|
default: |
| 1838 |
|
// Catches case 'plain': and case '': |
| 1839 |
|
$result .= $this->textLine('Content-Type: '.$this->ContentType.'; charset='.$this->CharSet); |