diff options
-rw-r--r-- | src/EmailMessage.php | 2 |
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() { |