php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #3663 get_mailboxes imap function documentation
Submitted: 2000-02-29 04:38 UTC Modified: 2000-02-29 14:34 UTC
From: werner dot dundler at austrocontrol dot at Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.12 OS: Solaris
Private report: No CVE-ID: None
 [2000-02-29 04:38 UTC] werner dot dundler at austrocontrol dot at
i would like to connect to an imap server an get the list of all the 
mailboxes a user has. 

the docu says : 
get_mailboxes : "If you want all mailboxes, pass pattern as an empty string. "

if i use : 
$result = imap_getmailboxes($mailbox,"{mailserver:143}","");

i get an array containing 1 object wich name attribute is- {mailserver:143}

but this line works:
$result = imap_getmailboxes($mailbox,"{mailserver:143}","*");

maybe change the docu to be better understandable .. 
THANK YOU

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-29 14:34 UTC] chagenbu at cvs dot php dot net
Fixed in the cvs version of the documentation (for english).
 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of chagenbu
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=c175e3e53358c350f4eabce015132a91fbbb9a2a
Log: Fix Bug #3663. This probably needs to be taken care of in other translations as well...
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 14 19:00:01 2026 UTC