|
@@ 2465-2471 (lines=7) @@
|
| 2462 |
|
//Use this as a preamble in all multipart message types |
| 2463 |
|
$mimepre = 'This is a multi-part message in MIME format.' . static::$LE; |
| 2464 |
|
switch ($this->message_type) { |
| 2465 |
|
case 'inline': |
| 2466 |
|
$body .= $mimepre; |
| 2467 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
| 2468 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding); |
| 2469 |
|
$body .= static::$LE; |
| 2470 |
|
$body .= $this->attachAll('inline', $this->boundary[1]); |
| 2471 |
|
break; |
| 2472 |
|
case 'attach': |
| 2473 |
|
$body .= $mimepre; |
| 2474 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
|
@@ 2472-2478 (lines=7) @@
|
| 2469 |
|
$body .= static::$LE; |
| 2470 |
|
$body .= $this->attachAll('inline', $this->boundary[1]); |
| 2471 |
|
break; |
| 2472 |
|
case 'attach': |
| 2473 |
|
$body .= $mimepre; |
| 2474 |
|
$body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
| 2475 |
|
$body .= $this->encodeString($this->Body, $bodyEncoding); |
| 2476 |
|
$body .= static::$LE; |
| 2477 |
|
$body .= $this->attachAll('attachment', $this->boundary[1]); |
| 2478 |
|
break; |
| 2479 |
|
case 'inline_attach': |
| 2480 |
|
$body .= $mimepre; |
| 2481 |
|
$body .= $this->textLine('--' . $this->boundary[1]); |