disconnect() public method

Disconnects the transport from the IMAP server.
public disconnect ( )
示例#1
0
 public function testCapabilityNotConnected()
 {
     $imap = new ezcMailImapTransport(self::$server, self::$port);
     $imap->disconnect();
     try {
         $imap->capability();
         $this->fail("Expected exception was not thrown.");
     } catch (ezcMailTransportException $e) {
     }
 }