[imp] Re: some corrections

Chuck Hagenbuch chuck@horde.org
Sun, 20 May 2001 23:14:10 -0400


Quoting Alexander Pankov <asp@mailmeasap.com>:

> Then, I've another question. IMP sources, file imp/lib/Tree.php.
> 
>         // this *should* always get the right delimiter
>         $tmp = $this->getMailbox('');
>         $this->delimiter = $tmp->delimiter;
>         preg_match('|({.*}).*|', $tmp->name, $regs);
>         $this->server = $regs[1];
> 
> The first line fails, it do not return any mailbox. I've commented
> out these 4 lines, everything works fine. What are this line to do?!.

It's supposed to get the mailbox delimiter. What IMAP server are you using?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.