The IMAP_Admin:: class allow managing of mailboxes on IMAP servers.
Required parameters:
'admin_user' The name of a user with admin privileges. 'admin_password' The password of the adminstrator.
Optional parameters:
'hostspec' The hostname or IP address of the server. DEFAULT: 'localhost' 'port' The server port to which we will connect. IMAP is generally 143, while IMAP-SSL is generally 993. DEFAULT: 143 'protocol' The connection protocol (e.g. 'imap', 'pop3', 'nntp'). Protocol is one of 'imap/notls' (or only 'imap' if you have a c-client version 2000c or older), 'imap/ssl', or 'imap/ssl/novalidate-cert' (for a self-signed certificate). DEFAULT: 'imap' 'userhierarchy' The hierarchy where user mailboxes are stored. DEFAULT: 'user.' 'dsn' The full IMAP connection string. If not present, this is built from 'hostspec', 'port' and 'protocol' parameters.
$Horde: framework/IMAP/IMAP/Admin.php,v 1.5.6.13 2009/01/06 15:23:11 jan Exp $
Copyright 2004-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /IMAP/IMAP/Admin.php (line 38)
Constructor.
Adds a mailbox.
List all mailboxes.
Note that this does not work on a virtual-domain enabled Cyrus (it will only return mailboxes in the default domain).
Check whether a mailbox exists.
Deletes a mailbox.
Connects to the IMAP server with the parameters passed to the constructor.
Documentation generated on Sun, 30 Jan 2011 05:15:01 +0000 by phpDocumentor 1.4.3