[horde] Horde/Mailzu integration?

Jan Schneider jan at horde.org
Wed Feb 7 14:44:49 PST 2007


Zitat von "Mark D. Montgomery II" <techiem2 at techiem2.net>:

>
>
> Hello all!
> I've been trying to figure this out for a while and finally decided  
> to  join the mailing list and ask for help.  :)
>
> We have both horde and mailzu ( http://www.mailzu.net ) setup   
> successfully for our school mail system. (We changed from a   
> proprietary mail system a month or so ago.)
>
> What we are trying to do now is to somehow integrate the two to make  
>  things easier for everyone (cuz you know how people don't like to  
> have  to login multiple times).
>
> So there's a couple issues.
>
> 1.  How do I go about pulling the login info from horde to send to mailzu?
>
> I know you can send login info to mailzu using a standard post form like:
>
> <form action="https://domain/mailzu/index.php" method="post">
> User:<br /><input type="text" name="email"><br /><br />
> Password:<br /><input type="password" name="password"><br /><br />
> <input type="submit">
>
> So is there a way to pull the login info and make a form with just a  
>  submit button or (preferably) a link that will post the info to  
> mailzu?

Use Auth::getAuth() and Auth::getCredential('password').

> 2.  If 1 is possible, the next question would be if the link/button   
> could make mailzu load in the normal horde framework area like a  
> horde  app?
>
> On a related topic, where is the proper place to edit to add  
> something  like this link to horde?
> Right now I just have a link to mailzu in the   
> templates/portal/sidebar.inc file right before the call to  
> renderTree  function.

Create an application stanza for Mailzu in config/registry.php:
http://wiki.horde.org/Doc/Dev/Registry

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list