Wildfly -9 javax.mail is not working

后端 未结 2 1030
半阙折子戏
半阙折子戏 2021-01-23 23:38

I am making use of Wildfly 9.0.0 Final and javax.mail api in my application.

I am getting the following log:

2015-07-27 15:08:16,318 CONFIG          


        
2条回答
  •  走了就别回头了
    2021-01-24 00:16

    You're trying to connect to smtp.gmail.com on port 465, which is an SSL port, but JavaMail doesn't think you want to use SSL. You're probably failing in the SSL protocol negotiation. Something is wrong with how you're setting the configuration for the JavaMail Session that you're using.

提交回复
热议问题