program/include/rcube_imap.php
@@ -148,9 +148,18 @@ $this->options['port'] = $port; if ($this->options['debug']) if ($this->options['debug']) { $this->conn->setDebug(true, array($this, 'debug_handler')); $this->options['ident'] = array( 'name' => 'Roundcube Webmail', 'version' => RCMAIL_VERSION, 'php' => PHP_VERSION, 'os' => PHP_OS, 'command' => $_SERVER['REQUEST_URI'], ); } $attempt = 0; do { $data = rcmail::get_instance()->plugins->exec_hook('imap_connect',