I want to use ZMailBox, but I have this problem :
this is the code I wrote :
Unable to determine platform because \opt\zimbra\.platform does not exist.
String serverURL = "http://zimbra.server.com" + AccountConstants.USER_SERVICE_URI;
Or even this, both don't work
ZMailbox mailbox = ZMailbox.getByName("me", "123456", serverURL);
I checked the /opt/zimbra/.platform and it exists...
Options opt = new ZMailbox.Options();
ZMailbox mb = ZMailbox.getMailbox(opt);