summaryrefslogtreecommitdiff
path: root/src/EmailMessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/EmailMessage.php')
-rw-r--r--src/EmailMessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EmailMessage.php b/src/EmailMessage.php
index c4c797b..1e379ab 100644
--- a/src/EmailMessage.php
+++ b/src/EmailMessage.php
@@ -40,7 +40,7 @@ abstract class EmailMessage implements Message {
}
public function getBody() {
- return $this->msg->body;
+ return isset($this->msg->body) ? $this->msg->body : false;
}
public function getParts() {