|
@@ 2481-2487 (lines=7) @@
|
| 2478 |
|
//Use this as a preamble in all multipart message types |
| 2479 |
|
$mimepre = 'This is a multi-part message in MIME format.' . static::$LE; |
| 2480 |
|
switch ($this->message_type) { |
| 2481 |
|
case 'inline': |
| 2482 |
|
$body .= $mimepre; |
| 2483 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
| 2484 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding); |
| 2485 |
|
$body .= static::$LE; |
| 2486 |
|
$body .= $this->attachAll('inline', $this->boundary[1]); |
| 2487 |
|
break; |
| 2488 |
|
case 'attach': |
| 2489 |
|
$body .= $mimepre; |
| 2490 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
|
@@ 2488-2494 (lines=7) @@
|
| 2485 |
|
$body .= static::$LE; |
| 2486 |
|
$body .= $this->attachAll('inline', $this->boundary[1]); |
| 2487 |
|
break; |
| 2488 |
|
case 'attach': |
| 2489 |
|
$body .= $mimepre; |
| 2490 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
| 2491 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding); |
| 2492 |
|
$body .= static::$LE; |
| 2493 |
|
$body .= $this->attachAll('attachment', $this->boundary[1]); |
| 2494 |
|
break; |
| 2495 |
|
case 'inline_attach': |
| 2496 |
|
$body .= $mimepre; |
| 2497 |
|
$body .= $this->textLine('--' . $this->boundary[1]); |