summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/EmailMessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EmailMessage.php b/src/EmailMessage.php
index 7eb6201..2661f35 100644
--- a/src/EmailMessage.php
+++ b/src/EmailMessage.php
@@ -46,7 +46,7 @@ abstract class EmailMessage implements Message {
public function getFlattenedParts() {
$text = '';
$attachments = array();
- self::flatten_parts($text, $attachments);
+ self::flatten_parts($this->msg, $text, $attachments);
return array($text, $attachments);
}