Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Problems with CardDav and Zimbra

Help
2013-12-02
2013-12-04
  • I can't succeed in getting the vcard list from my zimbra account.

    I tried with this code but, if i debug the getCollections method, i can see a HTTP/1.1 400 Bad Request error.

    Can anyone help me ?
    Regards
    Stefano

    CardDavStore kerioStore = new CardDavStore("//MacTI/MKS2Exchange", new URL("https://mail.zcsmail.eu"), PathResolver.ZIMBRA);
    kerioStore.connect("xxx.xxx@xxx.xxx", "supersecret".toCharArray());
    for (CardDavCollection collection: kerioStore.getCollections()) {
    for (VCard card: collection.getComponents()) {
    System.out.println(card.toString());
    }
    }}

     
    • Adding some log

       
      Last edit: Stefano Bertini 2013-12-04