zimbra-api / soap-api

Zimbra SOAP client in PHP language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client Api Acces

xrevenge opened this issue · comments

Hello,

Is it possible to access to the non-admin API in order to create/modify tasks for example ?

If not, can i use a part of your code to implement this possibility ?

Thx

Something like this

$account = new \Zimbra\Struct\AccountSelector(\Zimbra\Enum\AccountBy::NAME(), 'username');
$api = \Zimbra\Mail\MailFactory::instance('https://localhost/service/soap');
$api->auth($account, 'password');

$api->createTask()

From $api object, you can access to all zimbra mail api.

https://github.com/zimbra-api/mail/blob/master/Tests/Request/CreateTaskTest.php
#11

Ok Thx,
I'll check that this evening.
Sebastien