|
|
|
@ -800,7 +800,6 @@ class rcube_imap_generic
|
|
|
|
|
|
|
|
|
|
// TLS connection
|
|
|
|
|
if ($this->prefs['ssl_mode'] == 'tls' && $this->getCapability('STARTTLS')) {
|
|
|
|
|
if (version_compare(PHP_VERSION, '5.1.0', '>=')) {
|
|
|
|
|
$res = $this->execute('STARTTLS');
|
|
|
|
|
|
|
|
|
|
if ($res[0] != self::ERROR_OK) {
|
|
|
|
@ -817,7 +816,6 @@ class rcube_imap_generic
|
|
|
|
|
// Now we're secure, capabilities need to be reread
|
|
|
|
|
$this->clearCapability();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Send ID info
|
|
|
|
|
if (!empty($this->prefs['ident']) && $this->getCapability('ID')) {
|
|
|
|
|