From: benjamin dot podszun at gmail dot com Operating system: Irrelevant PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug description: IMAP module lacks important/relevant parts of the c-client library
Description: ------------ IMAP [1] supports a CAPABILITY command to check for various supported extensions. While the c-client library supports checking for capabilities, PHP doesn't offer any way to do that. One of that extensions, NAMESPACE [2], is critical for applications that use php and imap in combination with a server that relies on different namespaces for the user inbox and for example the shared folders. Without support for this command (which again is already available in the c-client library and "only" needs exposure/wrapping) there's no way to access shared folders on a server that supports multiple namespaces and therefor things like listing shared folders, subscribing to shared folders etc. cannot work reliably (without hardcoding/hacking the namespace in). Proposal: Support for both protocol details should be added. I guess it's a no-brainer for anyone with a little experience with php modules and C. [1] http://www.ietf.org/rfc/rfc2060.txt [2] http://www.rfc-editor.org/rfc/rfc2342.txt Reproduce code: --------------- n/a Expected result: ---------------- Improved support for the imap protocol, especially for the CAPABILITIES and NAMESPACE part. Actual result: -------------- No support at all yet. -- Edit bug report at http://bugs.php.net/?id=39924&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39924&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39924&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39924&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39924&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39924&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39924&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39924&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39924&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39924&r=support Expected behavior: http://bugs.php.net/fix.php?id=39924&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39924&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39924&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39924&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39924&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39924&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39924&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39924&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39924&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39924&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39924&r=mysqlcfg