roundcube at gmail.com
Mon Oct 17 17:31:54 CEST 2005
All contacts are read from the DB and then written to the client when
opening the compose form. This is done in program/steps/mail/compose.inc
at line 552.
The quick search function is just made client side using the array with
all contacts. If you implement an LDAP connection, this should probably
be replaced by sending requests to the server and get matching
addresses. Therefore I suggest to create a function (PHP) which can
search for addresses in all address books (the local one and all
subscribed LDAP servers). This function can also be used for a search
function within the address book task.
If you have an LDAP connection implemented, I'll take care about the
auto-complete function, if you want.
Jeremy Jongsma wrote:
> I'll probably start on LDAP support, starting with a global address
> book. Is anybody working on that at the moment? I'm guessing that it
> will require a fair bit of reworking of the address book logic since
> each user would be able to have multiple addressbooks in different
> sources (global LDAP, personal LDAP, and perhaps multiple local ones).
> Can somebody point me to the code that does address completion in the
> compose window?
More information about the Dev