Re: Configuring E-Mail Session via JNDI

2015-08-07 Thread Tim Gustafson
I use NetBeans with Maven, and in that context I would declare the mail dependency to be scopeprovided/scope. I don't know how to do that in a native NetBeans project, but what you'd need to do is to tell NetBeans that javax.mail is required to compile but must not be included in the output

Re: Configuring E-Mail Session via JNDI

2015-08-06 Thread Felix Schumacher
Am 6. August 2015 06:12:14 MESZ, schrieb Tim Gustafson t...@tgustafson.com: I'm trying to configure an e-mail session in my Tomcat configuration like this: Resource name=mail/session auth=Container type=javax.mail.Session mail.transport.protocol=smtp

Re: Configuring E-Mail Session via JNDI

2015-08-06 Thread Mark H. Wood
On Wed, Aug 05, 2015 at 09:12:14PM -0700, Tim Gustafson wrote: I'm trying to configure an e-mail session in my Tomcat configuration like this: Resource name=mail/session auth=Container type=javax.mail.Session mail.transport.protocol=smtp mail.smtp.host=192.168.0.2

Configuring E-Mail Session via JNDI

2015-08-05 Thread Tim Gustafson
I'm trying to configure an e-mail session in my Tomcat configuration like this: Resource name=mail/session auth=Container type=javax.mail.Session mail.transport.protocol=smtp mail.smtp.host=192.168.0.2 mail.debug=true / From my web application, I'm instantiating a