Good question and good point. Since I had issues with JavaMail earlier, I
replaced geronimo Java mail jar with Oracle or sun JavaMail jar in
tomee/lib, and that fixed my issues.
On Feb 9, 2014 11:38 AM, "Romain Manni-Bucau" <[email protected]> wrote:

> hi
>
> you use javax.mail jar or geronimo one with tomcat 7? TomEE relies on
> geronimo by default
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2014-02-09 7:59 GMT+01:00 threadhead <[email protected]>:
> > So in using Java Mail outside an EJB context (i.e. not using EJB at all)
> in
> > an app deployed to TomEE, emails are sent, but any attachments get
> silently
> > discarded.
> >
> > This was working fine under Tomcat 7, but fails with TomEE 1.6.0. Might
> have
> > something to do the the activation classes, still chasing that down.
> >
> > Anyone seen anything similar or have any ideas?
> >
> > TIA
> >
> >
> >
> > --
> > View this message in context:
> http://openejb.979440.n4.nabble.com/Mail-attachments-silently-fail-tp4667567.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to