Results 1 to 1 of 1

Thread: ZMailBox error

  1. #1
    taichimaro is offline Intermediate Member
    Join Date
    Jun 2011
    Posts
    17
    Rep Power
    3

    Default ZMailBox error

    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...
    Last edited by taichimaro; 06-21-2011 at 01:02 AM. Reason: More informations
    Marouane

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 05-11-2012, 02:16 PM
  2. [SOLVED] I broke my server trying to optimize... HELP!
    By myriad in forum Administrators
    Replies: 9
    Last Post: 09-17-2011, 06:46 AM
  3. Replies: 6
    Last Post: 03-14-2011, 04:21 AM
  4. [SOLVED] New zcs 7 install : database errors founds
    By dkbk in forum Administrators
    Replies: 4
    Last Post: 03-01-2011, 06:49 AM
  5. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •