| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
11-24-2006, 02:31 AM
| | | 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: - 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
)
I'll be gratefull if I can get some immediate head-on.
Thanks
Best Regards
Abhishek
__________________
Diamond is a piece of coal that performed well under pressure
| 
11-24-2006, 03:55 AM
| | Intermediate Member | |
Posts: 23
| | Any IMAP client can access Zimbra mailstore Hi,
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.
Martin | 
11-25-2006, 12:33 PM
| | | 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
Best Regards
Abhishek
__________________
Diamond is a piece of coal that performed well under pressure
| 
11-25-2006, 06:08 PM
| | Zimbra Employee | |
Posts: 1,434
| | | 
11-27-2006, 03:18 AM
| | | RE: dkarp (REST Web Service API to access Zimbra mailbox) dkarp
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?
__________________
Diamond is a piece of coal that performed well under pressure
| 
11-27-2006, 12:06 PM
| | Zimbra Employee | |
Posts: 1,434
| | REST improvements Quote:
Originally Posted by abhishek_agl 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? | Good idea. Please search bugzilla and file that as an enhancement request if you can't find anything similar... Quote:
Originally Posted by abhishek_agl 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. | This is another good request, and should be a separate entry in bugzilla. You want a REST authentication mechanism -- do you also need to be able to pass the resulting auth token in the URL, or can you use a cookie instead? | 
11-27-2006, 11:20 PM
| | | RE: dkarp (REST improvements ) Hey there.
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:
http://server/zimbra/user/roland/inbox.xml
or something like
<A href="http://server/zimbra/user/roland/inbox.xml?query="is:unread">http://server/zimbra/user/roland/inbox.xml?query="is:unread"
Then I should be getting my mails stored in my inbox in an xml format like: <messages> <message id="1"> <subject/> </message> <message id="2" /> </messages> 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/)
Best Regards
Abhishek
__________________
Diamond is a piece of coal that performed well under pressure
| 
11-27-2006, 11:28 PM
| | Zimbra Employee | |
Posts: 1,434
| | bugzilla is not hidden Quote:
Originally Posted by abhishek_agl I am fairly new at Zimbra. Can you help me locate the bugzilla to file in the following two request: | See the link to bugzilla in my signature? That's it. | 
11-28-2006, 12:12 AM
| | | RE: dkarp (new bugs in Bugzilla) Hey dkarp
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:
12508
12509
__________________
Diamond is a piece of coal that performed well under pressure
| 
11-30-2006, 04:30 AM
| | | Dkarp: Soap Api Hi Dan
As you have been following the bug 12508 ( http://bugzilla.zimbra.com/show_bug.cgi?id=12508), its suggested that we should move to SOAP APIs rather than REST for XML.
Can you help me with a head start, as to where are the docs, WSDLs et al for the SOAP service are available?
As discussed, I would need to write a soap client to access mails stored on Zimbra server using different filters on date, size etc.
Would really appriciate any lead on that
Regards
Abhi
__________________
Diamond is a piece of coal that performed well under pressure
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |