[imp] get pref Value in preauthenticate

Makeri makeri-kutsonu at t-online.de
Thu Oct 20 11:16:08 UTC 2011


Hello !

We log in Horde per LDAP-User and want autologin to IMP (IMAP-Server). 
Usernameand Password from Horde and IMP are not similar.

In Horde3 i can save the IMAP-Login-Information in Horde and can 
autologin to IMP.

In Horde4 dont gives the option.

So, i make 3 new prefs in horde-hooks, where the User save his Login-Information
(servername, loginname and password).

Now, i want acces to this settings, in the function "preauthenticate" in IMP.

But i cant !

How can i acces it ?


$GLOBALS[prefs]->getValue('mail_server_name')
$GLOBALS[prefs]['mail_server_name']

prefs->getValue('mail_server_name')
prefs['mail_server_name']

and with _prefs ...

dont work.


Please help !





More information about the imp mailing list