Parse imap open connect string
static public parseMailServerConnectString ( $value, $forceport = false ) : array | ||
$value | string: connect string | |
$forceport | boolean: force compute port if not set (false by default) | |
return | array | of parsed arguments (address, port, mailbox, type, ssl, tls, validate-cert norsh, secure and debug) : options are empty if not set and options have boolean values if set |