Closed teknosains closed 8 years ago
I test it and got error
Parse error: syntax error, unexpected 'instance' (T_STRING), expecting variable (T_VARIABLE) or '$'
at this line
$api = new \Zimbra\AdminFactory::instance('https://dcdc.mydomain.net:7071/');
Hello,
I have the same problem. I can not use zimbra-api projetc.
Any ideaa?
I fixed it using
$js = new \Zimbra\Enum\RequestFormat('js');
$api = new \Zimbra\Admin\Http('https://mailrelayserver.com/service/soap/', $js);
As for some reason the code provided in ,,tutorial'' was not working for me either.
I meant to make a single-sign-on service with zimbra email, can use this class ?