问题描述
- javamail邮件发送求大神解答
-
javax.mail.AuthenticationFailedException: [EOF]
at com.sun.mail.smtp.SMTPTransport$Authenticator.authenticate(SMTPTransport.java:648)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:583)
at javax.mail.Service.connect(Service.java:313)
at javax.mail.Service.connect(Service.java:172)
at javax.mail.Service.connect(Service.java:121)
at javax.mail.Transport.send0(Transport.java:190)
at javax.mail.Transport.send(Transport.java:120)
at fromInternetJavamail.SimpleMail.sendTextMail(SimpleMail.java:64)
at fromInternetJavamail.test1.main(test1.java:21)
解决方案
认证失败,检查下你的用户名密码,如果是ssl的,检查证书
解决方案二:
我也是这个问题,你解决了吗?
时间: 2024-11-02 12:36:02