PHP 4.0 Bug #3655: Function "imap_getmailboxes()" doesn't work as expected
| From: | ptuasca at hotmail dot com | Date: | Mon, 28 Feb 2000 19:55:26 +0000 |
| Subject: | PHP 4.0 Bug #3655: Function "imap_getmailboxes()" doesn't work as expected | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16100@lists.php.net to get a copy of this message | ||
From: ptuasca@hotmail.com
Operating system: Solaris 2.5
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: IMAP related
Bug description: Function "imap_getmailboxes()" doesn't work as expected
Function "imap_getmailboxes()" doesn't return the mailbox name as expected. The
following code (working fine with php 3.0.14) stopped working:
<?
$mailstream=imap_open('{127.0.0.1:143}','usr','pwd');
$list=imap_getmailboxes($mailstream,'{127.0.0.1:143}','*');
for($i = 0; $i < count($list); $i++)
echo($list[$i]->name);
?>
The "configure" line:
./configure \
--with-imap \
--with-mysql=/usr/local/mysql \
--with-gd \
--with-ttf \
--with-ftp \
--with-xml \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars \
--enable-versioning \
--with-config-file-path=/etc;
What I'm doing wrong?
Thanks,
PTuasca