下面是异常信息:
javax.mail.AuthenticationFailedException: 535 Authentication failed
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 a.SendMail.sendMessage(SendMail.java:39)
at a.SendMail.main(SendMail.java:49)