Re: IMAP quota support
| From: | Luiz Lima | Date: | Wed, 29 May 2002 15:29:27 +0000 |
| Subject: | Re: IMAP quota support | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99757@lists.php.net to get a copy of this message | ||
Just found out that the bug is known... Anyone care to came with a patch?
:-) Guess it's time to quit php and start learning C to fix it... :-))
http://bugs.php.net/bug.php?id=14673
--
Luiz Lima
Image Link Internet
http://www.imagelink.com.br
"Luiz Lima" <llima@imagelink.com.br> escreveu na mensagem
news:20020527200258.53904.qmail@pb1.pair.com...
> I managed to be somewhat succesfull while trying to get PHP4 and IMP to
get
> quota information from my IMAP server (Vircom's VOPMail for Windows
> NT/2000 - available from www.vircom.com).
>
> I changed the script a little bit to talk right to Vircom's IMAP server
but
> its response differs a little from what RFC 2087 says. While Vircom
replies
> with (STORAGE 10 20480 TRIGGER 0 17408), PHP4's get_imap_quota expects
> (STORAGE 10 20480), without the TRIGGER. The result is that PHP4 is
> considering the usage to be 0 and the quota 17408. Looks like it gets the
> last two numbers it finds and uses it, but I'm not sure...
>
> I'm no C programmer and couldn't actually find the way that PHP4 and/or WU
> IMAP c-client tries to understand the output from the server. So, could
> anyone point to me the way to change this behavior and understand my
> server's information?
>
> --
> Luiz Lima
> Image Link Internet
> http://www.imagelink.com.br