Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: twisterbr on April 23, 2013, 04:04:50 PM

Title: markasjunk2, execute command when moving messages to spam/inbox folders
Post by: twisterbr on April 23, 2013, 04:04:50 PM
Is there a way to trigger the spam and ham commands of markasjunk2 plugin also when moving messages to spam or inbox folders?
I mean, this has to be set on roundcube 'core' or can be done directly on markasjunk?
Title: Re: markasjunk2, execute command when moving messages to spam/inbox folders
Post by: JohnDoh on April 24, 2013, 09:06:47 AM
i think that should be possible you just need to use the JS events for message moving to call the markasjunk2 functions.
Title: Re: markasjunk2, execute command when moving messages to spam/inbox folders
Post by: twisterbr on April 29, 2013, 10:47:25 AM
Thanks for the suggestion!!!

I have no idea how to do that, but i'll see in the code to learn how to make it work.

Thanks man