thomas at roundcube.net
Sat Jan 2 13:32:45 CET 2016
On Mon, Nov 16, 2015 at 2:17 PM, Владимир Горпенко <vgo at stels.ru> wrote:
> 1. Is there any more recent information about hooks than
I'm afraid the documentation on the wiki lags a little behind our
codebase. Sorry for that!
We'll try to keep up with it in the future. Of course your
contributions are welcome ;-)
> In particular, I found the following hooks are not mentioned in this source:
Many of them come from plugins (acl, manasieve, password) and those
are not documented in the wiki.
> 2. What are the hooks can be used to completely replace the text and
> structure of the message for reading and quoting for a response?
'message_part_structure' and 'message_load' for reading messages,
'message_compose_body', 'message_ready' and 'message_before_send' for
You should look at the enigma plugin to see an example for interacting
with the message structure:
Please note that the 'message_ready' hook was added in 1.2-beta and is
not available in older versions.
More information about the dev