summaryrefslogtreecommitdiff
path: root/src/EmailMessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/EmailMessage.php')
-rw-r--r--src/EmailMessage.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/EmailMessage.php b/src/EmailMessage.php
index 3f6c173..5a91c1e 100644
--- a/src/EmailMessage.php
+++ b/src/EmailMessage.php
@@ -43,6 +43,10 @@ abstract class EmailMessage implements Message {
return $this->msg->body;
}
+ public function getParts() {
+ return $this->msg->parts();
+ }
+
protected static function decode_raw_message($input) {
$params['include_bodies'] = true;
$params['decode_bodies'] = true;