Dear Jan, Which hooks.php.dist are you referring to? https://github.com/horde/horde/blob/master/horde/config/hooks.php.dist
Maybe you got me wrong. I do not want to find out which server the user choose but to automatically choose the server by the username. Thats why I thought the example from the wiki http://wiki.horde.org/ImapSelect could be a basis. Yours, Michael 2013/9/4 Jan Schneider <j...@horde.org>: > > Zitat von Michael Dawart <m...@neuewerte.de>: > > >> Dear List, >> >> I found some posts regarding the dynamic selection of IMAP server in >> the imp mailing archives. It is a little confusing for me. Somebody >> wrote that there is an example in the hooks on how to dynamically >> change the imap server on login. >> >> In the hooks.php.dist I found the description of the preauthenticate >> and applied it to the example from the wiki >> http://wiki.horde.org/ImapSelect >> >> But it seems as the new version does not use $_SESSION['imp'][$key] >> variable to store the server name etc. For me it looks as you have to >> use a kind of IMAP Server object. >> Unfortunately I did not found anything on how to set / modify server >> name instead, can you give me a hint? >> >> I'm using this versions: >> Horde Horde (horde) 5.1.2 >> Webmail Webmail (imp) 6.1.3 >> >> Thank you very much, >> >> Yours, Michael > > > The hooks.php.dist examples shows how to return the server key. There isn't > even any mentioning of $_SESSION. > -- > Jan Schneider > The Horde Project > http://www.horde.org/ > > -- > imp mailing list > Frequently Asked Questions: http://wiki.horde.org/FAQ > To unsubscribe, mail: imp-unsubscr...@lists.horde.org -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: imp-unsubscr...@lists.horde.org