/** * @test */ public function it_gets_the_mailbox_name_with_no_folder() { $this->assertEquals('{imap.example.com:993/imap/ssl}', $this->mailbox->getMailboxName(true)); }
/** * Resets/Refreshes the connection to the mail server * @return bool */ public function refresh() { return imap_reopen($this->connection, $this->mailbox->getMailboxName()); }