Hi,
there is lot of bugs in the original zimbraAdmin functions.
I make another versions without bugs @ this time.
You can get this version here:
http://syruis.free.fr/php/zimbraAdmin.tar.gz
For Support and help you can contact CELESTE @:
The lab'
In the archive you can see two folders with the older functions and a "magic" class call zimbra that can help you very well.
Edit=> I have make a Zend bootstap to include functions in the php4 function in the php5 class. But you can use something like include "../zimbraAdmin/zimbraAdmin.php"; ....
To change your settings use:
Code:
protected function _zimbra_login() {
global $params, $libelles;
$zimbraserver = $this->_getSettings($params->ZIMBRASOAP, $params->host);
;
$zimbraadminemail = $this->_getSettings($params->ZIMBRASOAP, $params->login);
;
$zimbraadminpassword = $this->_getSettings($params->ZIMBRASOAP, $params->password);
[...] or directelly
Code:
$zim = new zimbraAdmin($zimbraserver);
$zim->zimbra_login($zimbraadminemail, $zimbraadminpassword);
$this->zim = $zim;
This code use zimbra connection cache.. thanks php5 -
Good lucks,
Syruis