Hi,
I developped for my own needs, and for curiosity about roundcube
internals an "automatic addressbook" plugin.
As thunderbird or gmail does, this plugin collects the recipients of
outgoing mails and store them into a dedicated addressbook.
IMHO, the most usefull effect of this behaviour is that each email
address you typed once is then avaible for autocompletion.
I still have design issues with the plugin :
- any alternative idea to the install script ?
- in the install script, I wasn't able to catch errors with
MDB2::isError() (always returns false).
It's my first contact with rc code, with mdb2... and I'm far from being
a php guru (neither a php lover to be honnest...), so feel realy free to
send me any comment about code or design.
I would also need your help to add translations and database backends
(just a single sql statement to "translate" in
install/<yourdb>.initial.sql folder).
At the moment, only sqlite is supported as I don't use other DB systems.
I don't know if you consider such a plugin interesting for svn
integration, but I hope so :-).
Regards,
Jocelyn
P.S: As Roland Liebl suggested, a global addressbook mixing smoothly
collected and "normal" contacts can be a good thing, but I wanted to
keep things "light".
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/kk/JPWVR4At/automatic_addressboo.gz
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/