Oct 16th, 2011, 10:43 PM
It's working for now. I built something by hand, nothing fancy, but moving messags should not be too hard.
I built a [Google]MailPostProcessor class that handles as in handleSuccess(), handleFailure(). I also built in methods like moveMessage(MimeMessage msg, folder from, folder to) - which is pretty much all one needs to get the stuff working within spring? Or so I hope. It's not much, but if you fix me up with everything I need, I would be willing to contribute that (and of course use it myself then ) - right now I have two classes connecting to the imap directory. One is defined in Spring, the other is my own that does the post-processing.
If I can built this into Spring myself, I would be happy to do so.