diff --git a/src/Fetch/Server.php b/src/Fetch/Server.php index 346bea1..6115bdf 100644 --- a/src/Fetch/Server.php +++ b/src/Fetch/Server.php @@ -161,6 +161,11 @@ class Server } } + public function getMailBox() + { + return $this->mailbox; + } + /** * This function sets or removes flag specifying connection behavior. In many cases the flag is just a one word * deal, so the value attribute is not required. However, if the value parameter is passed false it will clear that @@ -229,7 +234,7 @@ class Server * * @return string */ - protected function getServerString() + public function getServerString() { $mailboxPath = '{' . $this->serverPath; @@ -337,7 +342,7 @@ class Server $numMessages = $limit; if($numMessages < 1) - return false; + return array(); $stream = $this->getImapStream(); $messages = array();