Roundcube Community Forum

 

markasjunk2, execute command when moving messages to spam/inbox folders

Started by twisterbr, April 23, 2013, 04:04:50 PM

Previous topic - Next topic

twisterbr

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?

JohnDoh

i think that should be possible you just need to use the JS events for message moving to call the markasjunk2 functions.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

twisterbr

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