Browse Source

don't try to connect to port 0

pull/1/head
Friendika 12 years ago
parent
commit
4b6a24ec3f
  1. 2
      include/email.php

2
include/email.php

@ -20,7 +20,7 @@ function email_poll($mbox,$email_addr) {
function construct_mailbox_name($mailacct) {
$ret = '{' . $mailacct['server'] . (($mailacct['port']) ? ':' . $mailacct['port'] : '');
$ret = '{' . $mailacct['server'] . ((intval($mailacct['port'])) ? ':' . $mailacct['port'] : '');
$ret .= (($mailacct['ssltype']) ? '/' . $mailacct['ssltype'] . '/novalidate-cert' : '');
$ret .= '}' . $mailacct['mailbox'];
return $ret;

Loading…
Cancel
Save