Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Api Acces #22

Open
xrevenge opened this issue Jun 21, 2017 · 2 comments
Open

Client Api Acces #22

xrevenge opened this issue Jun 21, 2017 · 2 comments

Comments

@xrevenge
Copy link

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

@IlyasDeckers
Copy link

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

@xrevenge
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants