#40087 [Asn]: imap_getmailboxes() gives a folder two times with different attributes
ID: 40087 User updated by: scalero at datadec dot es Reported By: scalero at datadec dot es Status: Assigned Bug Type: IMAP related Operating System: Red Hat Enterprise Linux AS 4 PHP Version: 5.2.1, 4.4.4 Assigned To: iliaa New Comment: Is there any progress about this bug? Thanks. Sebastián Calero. Previous Comments: [2007-09-29 13:05:29] cxv at bmn dot jb http://www.meta-fx.com forex ÝÇÑÓ [2007-01-12 08:36:32] scalero at datadec dot es And this is the result: array(4) { [0]=> object(stdClass)#1 (3) { ["name"]=> string(32) "{localhost:1143/imap/notls}INBOX" ["attributes"]=> int(1) ["delimiter"]=> string(1) "." } [1]=> object(stdClass)#2 (3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(64) ["delimiter"]=> string(1) "." } [2]=> object(stdClass)#3 (3) { ["name"]=> string(38) "{localhost:1143/imap/notls}test second" ["attributes"]=> int(32) ["delimiter"]=> string(1) "." } [3]=> object(stdClass)#4 (3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(34) ["delimiter"]=> string(1) "." } } bool(false) Like you can see, the 'test' folder appears two times and the first time it shows a 64 attributes value, but the test folder has the childrens: "test.aaa" and "test.bbb" [2007-01-11 17:09:13] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. [2007-01-11 17:04:18] scalero at datadec dot es It don't work, now with: PHP Version: 5.2.1RC3-dev (latest) c-client: imap-2006d (latest) it reproduces the same behavior. The 'test' folder appears without its children folders. Greetings. [2007-01-11 12:03:52] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40087 -- Edit this bug report at http://bugs.php.net/?id=40087&edit=1
#40087 [Fbk->Opn]: imap_getmailboxes() gives a folder two times with different attributes
ID: 40087 User updated by: scalero at datadec dot es Reported By: scalero at datadec dot es -Status: Feedback +Status: Open Bug Type: IMAP related Operating System: Red Hat Enterprise Linux AS 4 PHP Version: 4.4.4 New Comment: And this is the result: array(4) { [0]=> object(stdClass)#1 (3) { ["name"]=> string(32) "{localhost:1143/imap/notls}INBOX" ["attributes"]=> int(1) ["delimiter"]=> string(1) "." } [1]=> object(stdClass)#2 (3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(64) ["delimiter"]=> string(1) "." } [2]=> object(stdClass)#3 (3) { ["name"]=> string(38) "{localhost:1143/imap/notls}test second" ["attributes"]=> int(32) ["delimiter"]=> string(1) "." } [3]=> object(stdClass)#4 (3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(34) ["delimiter"]=> string(1) "." } } bool(false) Like you can see, the 'test' folder appears two times and the first time it shows a 64 attributes value, but the test folder has the childrens: "test.aaa" and "test.bbb" Previous Comments: [2007-01-11 17:09:13] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. [2007-01-11 17:04:18] scalero at datadec dot es It don't work, now with: PHP Version: 5.2.1RC3-dev (latest) c-client: imap-2006d (latest) it reproduces the same behavior. The 'test' folder appears without its children folders. Greetings. [2007-01-11 12:03:52] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip [2007-01-10 07:59:56] scalero at datadec dot es Description: Something very strange is happening me when I create a structure of folders like the following: INBOX test test.aaa test.bbb test second test second.ccc test second.ddd I use the following versions: Horde 3.1.3 IMP H3 (4.1.3) PHP 4.4.4 c-clientimap-2004g cyrus 2.2.10 I have tried to update c-client to the version 'imap-2006d' but I have had this problem: http://bugs.php.net/bug.php?id=39401 Reproduce code: --- imap_getmailboxes($this->_getStream(), "{localhost:1143/imap/notls}", "%"); Expected result: I expect each folder appears only one time with its appropriate attributes. Actual result: -- var_dump() exit: array(4) { [0]=> object(stdClass)(3) { ["name"]=> string(32) "{localhost:1143/imap/notls}INBOX" ["attributes"]=> int(1) ["delimiter"]=> string(1) "." } [1]=> object(stdClass)(3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(64) ["delimiter"]=> string(1) "." } [2]=> object(stdClass)(3) { ["name"]=> string(38) "{localhost:1143/imap/notls}test second" ["attributes"]=> int(32) ["delimiter"]=> string(1) "." } [3]=> object(stdClass)(3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(34) ["delimiter"]=> string(1) "." } } -- Edit this bug report at http://bugs.php.net/?id=40087&edit=1
#40087 [Fbk->Opn]: imap_getmailboxes() gives a folder two times with different attributes
ID: 40087 User updated by: scalero at datadec dot es Reported By: scalero at datadec dot es -Status: Feedback +Status: Open Bug Type: IMAP related Operating System: Red Hat Enterprise Linux AS 4 PHP Version: 4.4.4 New Comment: It don't work, now with: PHP Version: 5.2.1RC3-dev (latest) c-client: imap-2006d (latest) it reproduces the same behavior. The 'test' folder appears without its children folders. Greetings. Previous Comments: [2007-01-11 12:03:52] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip [2007-01-10 07:59:56] scalero at datadec dot es Description: Something very strange is happening me when I create a structure of folders like the following: INBOX test test.aaa test.bbb test second test second.ccc test second.ddd I use the following versions: Horde 3.1.3 IMP H3 (4.1.3) PHP 4.4.4 c-clientimap-2004g cyrus 2.2.10 I have tried to update c-client to the version 'imap-2006d' but I have had this problem: http://bugs.php.net/bug.php?id=39401 Reproduce code: --- imap_getmailboxes($this->_getStream(), "{localhost:1143/imap/notls}", "%"); Expected result: I expect each folder appears only one time with its appropriate attributes. Actual result: -- var_dump() exit: array(4) { [0]=> object(stdClass)(3) { ["name"]=> string(32) "{localhost:1143/imap/notls}INBOX" ["attributes"]=> int(1) ["delimiter"]=> string(1) "." } [1]=> object(stdClass)(3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(64) ["delimiter"]=> string(1) "." } [2]=> object(stdClass)(3) { ["name"]=> string(38) "{localhost:1143/imap/notls}test second" ["attributes"]=> int(32) ["delimiter"]=> string(1) "." } [3]=> object(stdClass)(3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(34) ["delimiter"]=> string(1) "." } } -- Edit this bug report at http://bugs.php.net/?id=40087&edit=1
#40087 [NEW]: imap_getmailboxes() gives a folder two times with different attributes
From: scalero at datadec dot es Operating system: Red Hat Enterprise Linux AS 4 PHP version: 4.4.4 PHP Bug Type: IMAP related Bug description: imap_getmailboxes() gives a folder two times with different attributes Description: Something very strange is happening me when I create a structure of folders like the following: INBOX test test.aaa test.bbb test second test second.ccc test second.ddd I use the following versions: Horde 3.1.3 IMP H3 (4.1.3) PHP 4.4.4 c-clientimap-2004g cyrus 2.2.10 I have tried to update c-client to the version 'imap-2006d' but I have had this problem: http://bugs.php.net/bug.php?id=39401 Reproduce code: --- imap_getmailboxes($this->_getStream(), "{localhost:1143/imap/notls}", "%"); Expected result: I expect each folder appears only one time with its appropriate attributes. Actual result: -- var_dump() exit: array(4) { [0]=> object(stdClass)(3) { ["name"]=> string(32) "{localhost:1143/imap/notls}INBOX" ["attributes"]=> int(1) ["delimiter"]=> string(1) "." } [1]=> object(stdClass)(3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(64) ["delimiter"]=> string(1) "." } [2]=> object(stdClass)(3) { ["name"]=> string(38) "{localhost:1143/imap/notls}test second" ["attributes"]=> int(32) ["delimiter"]=> string(1) "." } [3]=> object(stdClass)(3) { ["name"]=> string(31) "{localhost:1143/imap/notls}test" ["attributes"]=> int(34) ["delimiter"]=> string(1) "." } } -- Edit bug report at http://bugs.php.net/?id=40087&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40087&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40087&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40087&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40087&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40087&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40087&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=40087&r=needscript Try newer version:http://bugs.php.net/fix.php?id=40087&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40087&r=support Expected behavior:http://bugs.php.net/fix.php?id=40087&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40087&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40087&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40087&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40087&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40087&r=dst IIS Stability:http://bugs.php.net/fix.php?id=40087&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40087&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40087&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40087&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=40087&r=mysqlcfg
#32481 [Opn]: IMAP: imap_fetch_overview() only returns the first 'To:' address
ID: 32481 User updated by: scalero at datadec dot es Reported By: scalero at datadec dot es Status: Open Bug Type: Feature/Change Request Operating System: * PHP Version: 4CVS, 5CVS (2005-03-29) New Comment: OK, Thanks. Sebastian Calero. Previous Comments: [2005-03-29 14:52:58] [EMAIL PROTECTED] This is not a bug. Reclassified as feature request. (the function name says it already: imap_fetch_OVERVIEW..) You should use some other function to get more detailed information per message. [2005-03-29 13:14:25] scalero at datadec dot es Description: When I apply the function "imap_fetch_overview" to a message with several email addresses recipients only the fisrt is returned in the 'to' field. This is the result of 'imap_fetch_overview' to a message with 2 recipients: array(1) { [0]=> object(stdClass)(14) { ["subject"]=> string(11) "TEST mail" ["from"]=> string(20) "[EMAIL PROTECTED]" ["to"]=> string(18) "[EMAIL PROTECTED]" ["date"]=> string(31) "Tue, 29 Mar 2005 08:36:53 +0200" ["message_id"]=> string(63) "<[EMAIL PROTECTED]>" ["size"]=> int(564) ["uid"]=> int(17) ["msgno"]=> int(1) ["recent"]=> int(0) ["flagged"]=> int(0) ["answered"]=> int(0) ["deleted"]=> int(0) ["seen"]=> int(1) ["draft"]=> int(0) } } The "to" field must to contain "[EMAIL PROTECTED], [EMAIL PROTECTED]". Greetings and thanks. Sebastian Calero. -- Edit this bug report at http://bugs.php.net/?id=32481&edit=1
#32481 [NEW]: imap_fetch_overview only returns the first 'To:' address
From: scalero at datadec dot es Operating system: Tru64 5.1b PHP version: 4.3.10 PHP Bug Type: IMAP related Bug description: imap_fetch_overview only returns the first 'To:' address Description: When I apply the function "imap_fetch_overview" to a message with several email addresses recipients only the fisrt is returned in the 'to' field. This is the result of 'imap_fetch_overview' to a message with 2 recipients: array(1) { [0]=> object(stdClass)(14) { ["subject"]=> string(11) "TEST mail" ["from"]=> string(20) "[EMAIL PROTECTED]" ["to"]=> string(18) "[EMAIL PROTECTED]" ["date"]=> string(31) "Tue, 29 Mar 2005 08:36:53 +0200" ["message_id"]=> string(63) "<[EMAIL PROTECTED]>" ["size"]=> int(564) ["uid"]=> int(17) ["msgno"]=> int(1) ["recent"]=> int(0) ["flagged"]=> int(0) ["answered"]=> int(0) ["deleted"]=> int(0) ["seen"]=> int(1) ["draft"]=> int(0) } } The "to" field must to contain "[EMAIL PROTECTED], [EMAIL PROTECTED]". Greetings and thanks. Sebastian Calero. -- Edit bug report at http://bugs.php.net/?id=32481&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32481&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32481&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32481&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32481&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32481&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32481&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32481&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32481&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32481&r=support Expected behavior: http://bugs.php.net/fix.php?id=32481&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32481&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32481&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32481&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32481&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32481&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32481&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32481&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32481&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32481&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32481&r=mysqlcfg