PHP Doku:: Cyrus IMAP administration - book.cyrus.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzE-Mail-relevante ErweiterungenCyrus IMAP administration

Ein Service von Reinhard Neidl - Webprogrammierung.

E-Mail-relevante Erweiterungen

<<E-Mail-relevante Erweiterungen

Einführung>>


UnterSeiten:

Cyrus IMAP administration


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
baldur [at] baldur [dot] biz
2.03.2009 23:05
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();
?>



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)