summaryrefslogtreecommitdiff
path: root/src/EmailMessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/EmailMessage.php')
-rw-r--r--src/EmailMessage.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/EmailMessage.php b/src/EmailMessage.php
index 1e379ab..9313329 100644
--- a/src/EmailMessage.php
+++ b/src/EmailMessage.php
@@ -39,12 +39,8 @@ abstract class EmailMessage implements Message {
return $this->msg->headers['references'];
}
- public function getBody() {
- return isset($this->msg->body) ? $this->msg->body : false;
- }
-
public function getParts() {
- return $this->msg->parts;
+ return $this->msg;
}
protected static function decode_raw_message($input) {