163邮箱发送邮件535错误,遇到这个问题,是因为你的props.put("mail.smtp.host", "smtp.qq.com")
;写错了,应该改为
props.put("mail.smtp.host", "smtp.163.com");
这样就可以了。
163邮箱发送邮件535错误,遇到这个问题,是因为你的props.put("mail.smtp.host", "smtp.qq.com")
;写错了,应该改为
props.put("mail.smtp.host", "smtp.163.com");
这样就可以了。