Quote:
Originally Posted by roli8200 > AFAIK the Exchange connector syncs with calendar, addressbook, mail and possibly >tasklist.
Yes, I know this, but are this information offered by Zimbra via Dav?
Roland |
Yep. Looking at the source code, there is DAV support in the Zimbra source code. But it's also very trivial to get at this information via the REST interface. In particular, the Sync interface that the Zimbra Mobile and Zimbra Desktop applications use is designed to pull this information.
If there is already a lot of code available to consume DAV on the mobile server, that might be the way to go. If you are going to code things from scratch, I definitely suggest the Sync Formatter, or even the raw mbox and vcard formats instead. It just pure HTTP GET/POST, and is a much simpler code path.
For example, to read a email message, all I have to do is GET:
https://www.technicaldetails.org/zim...42259&fmt=sync Quote:
X-Zimbra-Tags:
X-Zimbra-Flags:
X-Zimbra-Received: 1178169021000
X-Zimbra-Modified: 1178205618000
X-Zimbra-Change: 59712
X-Zimbra-Revision: 59703
X-Zimbra-Conv: -42259
Received: from localhost (localhost.localdomain [127.0.0.1])
by technicaldetails.org (Postfix) with ESMTP id 1D5E610A889;
Thu, 3 May 2007 01:10:20 -0400 (EDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Score: -2.997
X-Spam-Level:
X-Spam-Status: No, score=-2.997 tagged_above=-10 required=5
tests=[ALL_TRUSTED=-1.8, AWL=0.442, BAYES_00=-2.599,
NO_REAL_NAME=0.961, SPF_HELO_PASS=-0.001]
Received: from technicaldetails.org ([127.0.0.1])
by localhost (technicaldetails.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id qhKJfEreKJiu; Thu, 3 May 2007 01:10:16 -0400 (EDT)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by technicaldetails.org (Postfix) with ESMTP id 8988910A885
for <admin@blahorg>; Thu, 3 May 2007 01:10:16 -0400 (EDT)
Subject: Daily mail report from 2007-05-02 00:00:00 to 2007-05-03 00:00:00
X-Mailer: Mail::Mailer[v1.74] Net::SMTP[v2.30]
To: admin@blahorg
From: admin@blahorg
Message-Id: <20070503051016.8988910A885@technicaldetails.org >
Date: Thu, 3 May 2007 01:10:16 -0400 (EDT)
Generating report
From 2007-05-02 00:00:00 to 2007-05-03 00:00:00
162 messages found for 238 total recipients (12 unique)
3142407 total bytes
19397.57 average bytes/msg
1.47 average recipients/msg
4.70 average delay/msg (sec)
Errors |
The sync interface works transparently with contacts and calender items. If you do a sync on a calender item, it will return a message including the invite, and a ics representation of the event.