php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

Throw Exception Authenticate

Open Spawnrad opened this issue 7 months ago • 0 comments

Describe the bug For authenticate exception is not throw

Code to Reproduce Client.php line 475 The troubling code section which produces the reported bug.

        try {
            $this->connection->connect($this->host, $this->port);
        } catch (ErrorException|RuntimeException $e) {
            throw new ConnectionFailedException("connection setup failed", 0, $e);
        }
        $this->authenticate();

        return $this;

Expected behavior throw authenticate exception

Webklex version: 6.2

Spawnrad avatar May 12 '25 13:05 Spawnrad