[imp] Error connecting to IMAP server. 22 : Invalid argument.

Troy troy at twisted.net
Fri Mar 24 04:05:25 PST 2006


> >
> >    /**
> >     * Constructor.
> >     *
> >     * @param string $host      The address/hostname of the IMAP server.
> >     * @param string $port      The port to connect to on the IMAP server.
> >     * @param string $protocol  The protocol string (See, e.g.,
> >servers.php).
> >     */
> >    function IMP_IMAPClient($host, $port, $protocol)
> >    {
> >        $this->_host = $host;
> >        $this->_port = $port;
> >
> >        /* Split apart protocol string to discover if we need to use either
> >         * SSL or TLS. */
> >        $tmp = explode('/', strtolower($protocol));
> >        if (in_array('tls', $tmp)) {
> >            $this->_usetls = false;
> >        } elseif (in_array('ssl', $tmp)) {
> >            $this->_usessl = true;
> >        }
> >    }
> 
> please put a
> var_dump($protocol, $tmp);
> after the "$tmp = " line and tell us the output.

Jan,

I put the var_dump line in and it doesn't seem to be creating any additional debug
output let alone a file after stopping/restarting and re-trying to login.

-Troy


More information about the imp mailing list