Hi, today we have released an almost-feature-full PHP classes to interact with a Zimbra server via the SOAP API.
https://github.com/libersoft/zcs-php
Feedback and patches are welcome.
Printable View
Hi, today we have released an almost-feature-full PHP classes to interact with a Zimbra server via the SOAP API.
https://github.com/libersoft/zcs-php
Feedback and patches are welcome.
Great, I'll give a look soon, thanks!
I just gave it a try:
I got:PHP Code:$newAccount = $zimbra->createAccount(array(
'name' => 'foo@bar.com',
'password' => 'Strong_Password',
'givenName' => 'John',
'sn' => 'Doe',
));
The account was created however... Am I some class definitions missing?Code:]PHP Fatal error: Class 'Account' not found in ZimbraAdmin.php on line 223
Regards
Thomas
Definitively yes, we have developed this classes for a management interface based on Symfony 1.4, which its autoloader made us forget about model classes.
I've included those missing classes, you should include them as in the updated README.txt if you aren't already using an autoloader in your project.
Let me know if you face any other problem.
Hi, I was wondering if you're still working on classes/functions for managing and sharing folders/calendars?
Regards
Jordy
Currently we aren't working on calendars interactions since we are fine with the currently available functions.
Patches and pull requests on GH are always welcome.
Okay! Maybe you can help me do the following:
I am a complete beginner in the SOAP API. I have found my way in creating/managing accounts and domains, but this is just a bit too complex for me.
For a simple application I want to share folders (calendars).
I've tried a lot(GetFolderRequest, BatchRequest, etc) but I still get the following error:
SoapFault exception: [soap:Sender] unknown document: ns1:GetFolderRequest in ...
I hope you know what might cause this error.
If you want to see the code, I will post it. But I think I'm just forgetting something simple..
I really thankful for libersoft zcs-php project.
All I need to know is how to search in the list of accounts for a specific term (ex: "acc" matches with "account@domain.com"), since I can not load all accounts.
I tried this:
But I get this:PHP Code:$result = $zimbra->getAccounts(array(
'domain' => 'mydomain.com',
'offset' => 0,
'limit' => 100,
));
So that I can do what I want, I got to know some way of sending a request with at least one parameter limiting.Code:An unexpected error has occurred (account.TOO_MANY_SEARCH_RESULTS)
I really thankful for libersoft zcs-php project.
All I need to know is how to search in the list of accounts for a specific term (ex: "acc" matches with "account@domain.com"), since I can not load all accounts.
I tried this:
But I get this:PHP Code:$result = $zimbra->getAccounts(array(
'domain' => 'mydomain.com',
'offset' => 0,
'limit' => 100,
));
So that I can do what I want, I got to know some way of sending a request with at least one parameter limiting.Code:An unexpected error has occurred (account.TOO_MANY_SEARCH_RESULTS)