note 89303 added to book.cyrus
| From: | baldur | Date: | Mon, 02 Mar 2009 22:05:44 +0000 |
| Subject: | note 89303 added to book.cyrus | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151369@lists.php.net to get a copy of this message | ||
If you have problems using this package you might want to take a look at web-cyradmin
(http://www.web-cyradm.org/). It has a PHP class called cyradm located in the lib/ folder that has
methods for most or all functions you might need to perform in cyrus. (Version of web-cyradmin is
0.5.4 as of writing). Example:
<?php
require_once("cyradm.php");
$GLOBAL['CYRUS']['HOST'] = "localhost"; // or wherever you keep your
cyrus server
$GLOBAL['CYRUS']['PORT'] = 143; // or the port you use for IMAP traffic
$GLOBAL['CYRUS']['ADMIN'] = "cyrus"; // the cyrus admin
$GLOBAL['CYRUS']['PASS'] = "secret"; // password for admin
$cyradm = new cyradm();
$cyradm->imap_login();
$cyradm->createmb("user.username@domain.tld");
$cyradm->imap_logout();
?>
----
Server IP: 87.54.44.10
Probable Submitter: 89.150.104.38
----
Manual Page -- http://www.php.net/manual/en/book.cyrus.php
Edit -- https://master.php.net/note/edit/89303
Del: integrated -- https://master.php.net/note/delete/89303/integrated
Del: useless -- https://master.php.net/note/delete/89303/useless
Del: bad code -- https://master.php.net/note/delete/89303/bad+code
Del: spam -- https://master.php.net/note/delete/89303/spam
Del: non-english -- https://master.php.net/note/delete/89303/non-english
Del: in docs -- https://master.php.net/note/delete/89303/in+docs
Del: other reasons-- https://master.php.net/note/delete/89303
Reject -- https://master.php.net/note/reject/89303
Search -- https://master.php.net/manage/user-notes.php