The closest I've been able to find is: https://github.com/HubSpot/NioSmtpClient (based off Apache James 3.3.1.Final and Netty 3) Example use: https://github.com/HubSpot/NioSmtpClient/blob/master/src/test/java/com/hubspot/smtp/IntegrationTest.java
This implementation is based on 'netty-codec-smtp'. You can see latest version of this codec here: https://github.com/netty/netty/tree/4.1/codec-smtp Interestingly when Apache James releases Netty 4, this project can be updated fairly easily to Netty 4 as well! Perhaps this project should be brought into Apache James? They do say their license is Apache 2.0 - but they haven't been keeping up with new releases of Apache James - so it might make sense to bring in. On Wed, 23 Mar 2022 at 13:22, Glennos <glennos...@gmail.com> wrote: > Hi all, > > I'm wondering if there's an established way to send emails using > Apache James? I've scanned through the codebase and I haven't found > anything and I'm wondering if I've missed it. > > I was expecting to find something that; > > 1. Looked up the MX address for each destination address > 2. Attempted to send the email to one of these MX addresses on ports > 587, 465, 25, 2525 > 3. Possibly signed the email using the DKIM private key before sending. > > However I was unable to find anything resembling any of that? > > Any help or suggestions would be appreciated! I'm attempting to avoid > using something like Amazon SES or similar with all of their pricing > structures and such. > > Thanks in advance, > > Glennos >