[imp] get pref Value in preauthenticate

Jan Schneider jan at horde.org
Mon Oct 24 09:37:17 UTC 2011


Zitat von Makeri <makeri-kutsonu at t-online.de>:

> 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).

Where? How?

> 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 !
>
>
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org


Jan.

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



More information about the imp mailing list