@@ 2198-2204 (lines=7) @@ | ||
2195 | //Use this as a preamble in all multipart message types |
|
2196 | $mimepre = 'This is a multi-part message in MIME format.' . $this->LE . $this->LE; |
|
2197 | switch ($this->message_type) { |
|
2198 | case 'inline': |
|
2199 | $body .= $mimepre; |
|
2200 | $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
|
2201 | $body .= $this->encodeString($this->Body, $bodyEncoding); |
|
2202 | $body .= $this->LE . $this->LE; |
|
2203 | $body .= $this->attachAll('inline', $this->boundary[1]); |
|
2204 | break; |
|
2205 | case 'attach': |
|
2206 | $body .= $mimepre; |
|
2207 | $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
|
@@ 2205-2211 (lines=7) @@ | ||
2202 | $body .= $this->LE . $this->LE; |
|
2203 | $body .= $this->attachAll('inline', $this->boundary[1]); |
|
2204 | break; |
|
2205 | case 'attach': |
|
2206 | $body .= $mimepre; |
|
2207 | $body .= $this->getBoundary($this->boundary[1], $bodyCharSet, '', $bodyEncoding); |
|
2208 | $body .= $this->encodeString($this->Body, $bodyEncoding); |
|
2209 | $body .= $this->LE . $this->LE; |
|
2210 | $body .= $this->attachAll('attachment', $this->boundary[1]); |
|
2211 | break; |
|
2212 | case 'inline_attach': |
|
2213 | $body .= $mimepre; |
|
2214 | $body .= $this->textLine('--' . $this->boundary[1]); |