Hi there, I think its time to finally get rid of javamail for sending emails via SMTP / SMTPS and use something more performant / better suited for heavy usage. javamail just sucks in many ways for SMTP Delivery in a way that a real server need it. It just don't expose all the needed stuff that we need. Like proper de-decting of 5xx code in the greeting etc.
So I started to work on a nio based SMTP / SMTPS client, which is build on top of netty. I think its now ready for a first review: https://github.com/normanmaurer/niosmtp It still lacks a few things that we need (also unit tests). Like SMTP AUTH and STARTTLS but I'm working on it (and I love contributions ;)). I really want to get it complete and use it as a replacement of javamail in our "RemoteDelivery" code. I also thing that we should move the RemoteDelivery code out of the Mailets and use a "real service" for it. This will make it easier to extend it and also expose stats etc. So I propose to start to work on a replacement as an experimental code base atm. We would still ship the old code till we dedicide that the new one is ready for primetime. For the new code I plan to allow to hook in custom "DelayCalculationPolicy" and also add support for notifiers which get called after each delivery. This will allow us todo smarter things in the future... WDYT ? Bye, Norman --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
