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
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
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
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