I would like to write a plugin that enables the user to specify an external
SMTP server for every identity. But there are some questions I got.
I startet and used the identity_form hook to inject the additional form
elements, but how am I supposed to get the values that were entered by the
user? identity_update and identity_create do not provide the additional
data to my plugin. And of course the data is not saved automatically.
Second question: When I get the data, how is a plugin supposed to save
data? Do I save the data with:
rcmail::get_instance()->user->save_prefs(array('key' => $value));
or is there a way to save the data right where the identity is saved?
I hope you can help me developing this plugin.
Old thread: http://lists.roundcube.net/mail-archive/dev/2008-02/0000032.html
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd