On 7 Mar 2016, at 20:56, Paul Bakker wrote: > Hi Mark, > > Do you explicitly need JavaMail, or do you just want to send mail from Java? > If you don't need JavaMail, there's a component in Amdatu that offers this. > It supports both smtp and AWS SES. > http://amdatu.org/components/email.html > <http://amdatu.org/components/email.html>
Not explicitly - we wrap javamail access in our own higher-level service which abstracts away the majority of things. Amdatu looks good, tho I see it uses commons-email which in turn is a wrapper for JavaMail. Looks like one of the root causes of our problems is this OLD system (this layer dates back almost 8-9 years now ) was depending on javamail 1.4 - from before it was in Maven Central, and I believe before it had any OSGi metadata on it so it looks like it was just dropped into the ./lib directory of the karaf ( and felix instance before it ). Things seem to all startup under 4.0.4 (so nice to see the full app running on a new container ) now altho now just hitting activation framework issues with class loaders - it's been soooooo long since I've even THOUGHT about the evil Activation Framework :) mark -- Mark Derricutt http://www.theoryinpractice.net http://www.chaliceofblood.net http://plus.google.com/+MarkDerricutt http://twitter.com/talios http://facebook.com/mderricutt
signature.asc
Description: OpenPGP digital signature