Java Mail mystery - SMTP blocked?

后端 未结 6 1220
孤城傲影
孤城傲影 2020-12-09 05:40

I have a Java program which uses javax.mail to send an SMTP message. This program works fine on a Linux box, I want to emphasize that beforehand. When I try this same cod

6条回答
  •  眼角桃花
    2020-12-09 05:56

    I had similar issue but strangely everything was working fine with jdk 1.6 once I install jdk 1.7 I got the exception. I wonder what could be the reason for this!

    After adding IPV4 argument it is working fine..Thank you so much.

提交回复
热议问题