javax.mail.AuthenticationFailedException at javax.mail.Service.connect(Service.java:267) at javax.mail.Service.connect(Service.java:137) at javax.mail.Service.connect(Service.java:86) at javax.mail.Transport.send0(Transport.java:150) at javax.mail.Transport.send(Transport.java:80) at util.MailUtil.sendMail(MailUtil.java:174) at mail.MailBusiness.sendMailIm(MailBusiness.java:351) at mail.MailThread.run(MailThread.java:25)
由于公司电脑定期需要更换密码,且我的公司邮箱密码也是随此而改变,但数据库中该账号密码乃以前的密码,因此报错。