Roundcube Community Forum
News and Announcements => General Discussion => Topic started by: soromir on June 23, 2017, 08:07:59 AM
-
Hi, Who can tell how to catch the move message, to implement the hook
-
one way is from the javascript events there are before<command> and after<command> events. so something like:
rcmail.addEventListener('beformove', function() { /* do something */ });
If you want a more detailed example look at the JS in the vcard_attachments plugin shipped with roundcube.
-
I need to catch a moment in PHP, after $this->rc->storage->move_message()