diff --git a/src/Core/Message.php b/src/Core/Message.php index f8685d3..d46601c 100644 --- a/src/Core/Message.php +++ b/src/Core/Message.php @@ -210,7 +210,7 @@ class Message */ public function fetchStructure($options = 0) { - $structure = imap_fetchstructure($connection->getStream(), $this->msg_number, $options); + $structure = imap_fetchstructure($this->connection->getStream(), $this->msg_number, $options); return $structure; } } \ No newline at end of file