Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-04-2009, 04:04 AM
Junior Member
 
Posts: 6
Default Integrating Zimbra with a web portal

Hi,

I am working with a personalised web 2.0 portal that has number of widgets, I would like to write a widget to display last 4 email Subjects from a user’s inbox, so mainly I have 2 questions:

1. I will authenticate the user in my web portal, so how can I authenticate with Zimbra (without asking the user to re-enter credentials), also I want to retrieve last 4 emails from the user’s inbox (preauth URL will not help me in that scenario, as I only need to display last 4 emails subject not to eredirect the user to his inbox).

2. Is there a way that I can reset \ change user’s passwords from a third party application (i.e the web portal I have mentioned earlier)

I am using C# ASP.NET 3.5, If am going to use the SOAP interface for Zimbra, I am assuming that I can build a proxy using .NET, but how can I download Zimbra’s WSDL

Any help is much appreciated,


Cheers
Reply With Quote
  #2 (permalink)  
Old 09-04-2009, 05:54 AM
Intermediate Member
 
Posts: 21
Default

Re: "how can I authenticate with Zimbra (without asking the user to re-enter credentials)" see this:

Preauth - Zimbra :: Wiki

You can always POP and fetch the headers of the first 4 messages of the user and make it transparent (though heavy on the zimbra box even if you use caching). Also you can use SOAP for that as well but perhaps POP is easier for your portal? In any case, install a firebug in your firefox and see the SOAP commands exchanging between web and zimbra and try to replicate the ones you need. Also you can read about zmmailbox. Many options for you

To change user's password there's many ways, from SOAP to CLI. Choose the one you like most (ie SOAP hehe).
Reply With Quote
  #3 (permalink)  
Old 09-04-2009, 09:18 AM
Junior Member
 
Posts: 6
Default

Hi VS_onD,

Many thanks for your reply,,, but I am a novice to Zimbra,, so would you please provide some examples for the SOAP interface.
I managed to get preauth to work,, but as I said cant see how can I load Zimbra client and make it transparent then snatch top 4 emails.


Cheers
Reply With Quote
  #4 (permalink)  
Old 09-04-2009, 12:15 PM
Intermediate Member
 
Posts: 21
Default

To snatch the last 4 emails use one of the mentioned ways.

About SOAP, I guess you can search the forum and find others that use .Net.

I use PHP for my needs. This forum is a fountain of knowledge so it's best to keep notes and bookmarks!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.