1. DEBUG SMTP: MessagingException while sending, THROW:
com.sun.mail.smtp.SMTPSendFailedException: 501 mail from address must be same as authorization user2.454 Authentication failed, please open smtp flag first!原因是我使用的QQ邮箱没有开通POP3/SMTP服务,登录邮箱开启该服务即可
com.sun.mail.smtp.SMTPSendFailedException: 501 mail from address must be same as authorization user2.454 Authentication failed, please open smtp flag first!原因是我使用的QQ邮箱没有开通POP3/SMTP服务,登录邮箱开启该服务即可