[imp] Can't login to IMP 2.3

Patrick Boutilier boutilpj@ednet.ns.ca
Thu, 04 Jan 2001 12:50:55 -0400


Anil Madhavapeddy wrote:

> Quoting Patrick Boutilier <boutilpj@ednet.ns.ca>:
>
>
>
> In that case, you'd better start hacking.  Try starting in imp/lib/IMP.php
> and look for imap_open calls, and insert var_dumps to find out what variables
> are getting passed onto it (at least, that's how I do it; never found a decent
> way of debugging PHP scripts)
>

In lib/IMP.php on line 288 or so if have this line:


$imp['stream'] = @imap_open($connstr, $imp['user'], Secret::read(IMP::getKey(),
$imp['pass']));


and var_dump ($connstr) =

string(8) "{/imap:}"



This should be something like this in my case:

{staff.ednet.ns.ca/imap:145}


I will now look into why $connstr is not being set right.



>
> --
> Anil Madhavapeddy, <anil@recoil.org>
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org