|
|
@ -33,7 +33,7 @@ class rcube_vpopmaild_password
|
|
|
|
$host = $rcmail->config->get('password_vpopmaild_host');
|
|
|
|
$host = $rcmail->config->get('password_vpopmaild_host');
|
|
|
|
$port = $rcmail->config->get('password_vpopmaild_port');
|
|
|
|
$port = $rcmail->config->get('password_vpopmaild_port');
|
|
|
|
|
|
|
|
|
|
|
|
$result = $vpopmaild->connect($hostname, $port, null);
|
|
|
|
$result = $vpopmaild->connect($host, $port, null);
|
|
|
|
if (is_a($result, 'PEAR_Error')) {
|
|
|
|
if (is_a($result, 'PEAR_Error')) {
|
|
|
|
return PASSWORD_CONNECT_ERROR;
|
|
|
|
return PASSWORD_CONNECT_ERROR;
|
|
|
|
}
|
|
|
|
}
|
|
|
|