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