@@ 1727-1732 (lines=6) @@ | ||
1724 | ||
1725 | $boundary = $relBoundary = $textBoundary = $this->_boundary; |
|
1726 | ||
1727 | if ($hasInlineAttachments) { |
|
1728 | $msg[] = '--' . $boundary; |
|
1729 | $msg[] = 'Content-Type: multipart/related; boundary="rel-' . $boundary . '"'; |
|
1730 | $msg[] = ''; |
|
1731 | $relBoundary = $textBoundary = 'rel-' . $boundary; |
|
1732 | } |
|
1733 | ||
1734 | if ($hasMultipleTypes && $hasAttachments) { |
|
1735 | $msg[] = '--' . $relBoundary; |
|
@@ 1734-1739 (lines=6) @@ | ||
1731 | $relBoundary = $textBoundary = 'rel-' . $boundary; |
|
1732 | } |
|
1733 | ||
1734 | if ($hasMultipleTypes && $hasAttachments) { |
|
1735 | $msg[] = '--' . $relBoundary; |
|
1736 | $msg[] = 'Content-Type: multipart/alternative; boundary="alt-' . $boundary . '"'; |
|
1737 | $msg[] = ''; |
|
1738 | $textBoundary = 'alt-' . $boundary; |
|
1739 | } |
|
1740 | ||
1741 | if (isset($rendered['text'])) { |
|
1742 | if ($multiPart) { |