Nee a head start with IMAP client to access Zimbra mails
I am new to Zimbra (about 2 weeks old)
I came across this amazing product as a need for integrating it with an external IMAP client using REST web services.
I have been looking into the docs and digging into the code for some time, but am not getting a clear picture.
Can anyone help me with a head start on:
I'll be gratefull if I can get some immediate head-on.
- How do I access mails on Zimbra server using an IMAP client
- The REST web service APIs (or rather URLs) exposed by Zimbra to access mails.
- How can one wrap IMAP mail access within REST web services in reference to Zimbra (not sure if this one makes sense, may be too much reading on too many topics in past few days has blown my fuse :confused: )
Any IMAP client can access Zimbra mailstore
As far as I can tell, any IMAP(S) client can access the mail store. I tested myself Evolution and Thunderbird and found no problems. Of course that's just for email.
Not sure about your other two questions, as I just started with Zimbra myself and still learning.
REST Web Service API to access Zimbra mailbox
I guess I didn't frame my doubts clearly, Lemme reframe my question
I need to write some java code, essentially a REST web service client that accesses the mails on Zimbra via REST web service calls. I am not able to locate the REST API exposed by Zimbra. So I need help regarding the same. May be some API doc, or a sample Java client.
I'll really appriciate any help in this regard
RE: dkarp (REST Web Service API to access Zimbra mailbox)
Thanks for the link.
I had visited the link before posting on this forum. The problem is that although, the link does give the URl to access my calendar (http://server/zimbra/user/roland/calendar), or access my contacts(http://server/zimbra/user/roland/contacts) or rss feed (http://server/zimbra/user/roland/inbox.rss?query="is:unread"
But it doesn't give me the URI to simply access my inbox.
I mean, I can use http://server/zimbra/user/roland/inbox.zip to get a zipped file of all the mails in my inbox, but how do I get a list of all mails in my inbox (unzipped list), may be, like an xml document listing my inbox mails?
Also, does it support giving credentials in the URL itself (the REST way)? Currently if I type the above URLs on my browser, it pops up a window to enter my credentials. When I need to do this within my code, I would need a way of providing user name and password within the URL itself.
Is any such thing suppported?
RE: dkarp (REST improvements )
Thanks for the reply.
I am fairly new at Zimbra. Can you help me locate the bugzilla to file in the following two request:
- Enhancement: Getting my mails in xml format. For example, if my code invokes a request like:
or something like
Then I should be getting my mails stored in my inbox in an xml format like:
<message id="2" />
2. Enhancement: Currently if I say something like http://192.168.1.51/zimbra/user/abhishek/inbox.zip then it asks for my username, password. While a user is browsing from IE etc, he can enter the credentials, but when I am writing a Java REST Web Service client, I need some way to provide the credentials ALONG with the url request. One of the BEST security authorization feature I have come across so far for REST WEB SERVICE SECURITY is that implemented by Amazon (http://docs.amazonwebservices.com/AW...ce/2006-04-01/)
RE: dkarp (new bugs in Bugzilla)
thanks for all the help.
I wish I was not stupid enough not to look at your signatures for Bugzilla :(
The following new bugs have been filed: