|
@@ 2075-2081 (lines=7) @@
|
| 2072 |
|
//Use this as a preamble in all multipart message types |
| 2073 |
|
$mimepre = "This is a multi-part message in MIME format." . $this->LE . $this->LE; |
| 2074 |
|
switch ($this->message_type) { |
| 2075 |
|
case 'inline': |
| 2076 |
|
$body .= $mimepre; |
| 2077 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
| 2078 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding); |
| 2079 |
|
$body .= $this->LE . $this->LE; |
| 2080 |
|
$body .= $this->attachAll('inline', $this->boundary[1]); |
| 2081 |
|
break; |
| 2082 |
|
case 'attach': |
| 2083 |
|
$body .= $mimepre; |
| 2084 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
|
@@ 2082-2088 (lines=7) @@
|
| 2079 |
|
$body .= $this->LE . $this->LE; |
| 2080 |
|
$body .= $this->attachAll('inline', $this->boundary[1]); |
| 2081 |
|
break; |
| 2082 |
|
case 'attach': |
| 2083 |
|
$body .= $mimepre; |
| 2084 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
| 2085 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding); |
| 2086 |
|
$body .= $this->LE . $this->LE; |
| 2087 |
|
$body .= $this->attachAll('attachment', $this->boundary[1]); |
| 2088 |
|
break; |
| 2089 |
|
case 'inline_attach': |
| 2090 |
|
$body .= $mimepre; |
| 2091 |
|
$body .= $this->textLine('--' . $this->boundary[1]); |