javax.mail.AuthenticationFailedExceptionatjavax.mail.Service.connect(Service.java:306)atjavax.mail.Service.connect(Service.java:156)atcom.gotobus.util.email.Email.main(Email.java:119)-------错误的异常情况-----------------------异常代码出错的位置-------//发送邮件Transporttransport;msg.saveChanges();//存储邮件信息transport=mailSession.getTransport("smtp");*transport.connect("smtp.qq.com","2668208858@qq.com","xrl123456");*transport.sendMessage(msg,msg.getAllRecipients());//发送邮件,其中第二个参数是所有
添加回答
举报
0/150
提交
取消