|
@@ 1976-1982 (lines=7) @@
|
| 1973 |
|
//Use this as a preamble in all multipart message types
|
| 1974 |
|
$mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE;
|
| 1975 |
|
switch ($this->message_type) {
|
| 1976 |
|
case 'inline':
|
| 1977 |
|
$body .= $mimepre;
|
| 1978 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
|
| 1979 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding);
|
| 1980 |
|
$body .= $this->LE . $this->LE;
|
| 1981 |
|
$body .= $this->attachAll('inline', $this->boundary[1]);
|
| 1982 |
|
break;
|
| 1983 |
|
case 'attach':
|
| 1984 |
|
$body .= $mimepre;
|
| 1985 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
|
|
@@ 1983-1989 (lines=7) @@
|
| 1980 |
|
$body .= $this->LE . $this->LE;
|
| 1981 |
|
$body .= $this->attachAll('inline', $this->boundary[1]);
|
| 1982 |
|
break;
|
| 1983 |
|
case 'attach':
|
| 1984 |
|
$body .= $mimepre;
|
| 1985 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding);
|
| 1986 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding);
|
| 1987 |
|
$body .= $this->LE . $this->LE;
|
| 1988 |
|
$body .= $this->attachAll('attachment', $this->boundary[1]);
|
| 1989 |
|
break;
|
| 1990 |
|
case 'inline_attach':
|
| 1991 |
|
$body .= $mimepre;
|
| 1992 |
|
$body .= $this->textLine('--' . $this->boundary[1]);
|