`

用spring发邮件验证失败问题2

阅读更多

[See nested exception: org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException]

有可能你的用户名填错了
smtp=smtp.163.com
username=gundumw100

smtp=mail.worthtech.net
username=gundumw100@worthtech.net

看红色的部分,不同的服务器可能username表达不一样
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics