diff --git a/src/Fetch/Message.php b/src/Fetch/Message.php index 8374646..f3a308c 100644 --- a/src/Fetch/Message.php +++ b/src/Fetch/Message.php @@ -253,7 +253,7 @@ class Message $this->subject = MIME::decode($messageOverview->subject, self::$charset); } - if (property_exists($messageOverview, 'date')) { + if (property_exists($messageOverview, 'date') && null !== $messageOverview->date) { $this->date = strtotime($messageOverview->date); }