hi,使用Java 编写程序发送邮件,使用smtp.office365.com 587进行转发邮件,使用windows系统发送邮件可以发送成功,但是使用Linux服务发送邮件报一下错误,无法发送成功。2021-05-17 09:24:58.362 [tomcat-exec-13] ERROR c.evun.sweet.framework.core.mvc.filter.SweetFilter - Request processing failed; nested exception is org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 550 5.2.1 Mailbox cannot be accessed [HKAPR03CA0003.apcprd03.prod.outlook.com]org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 550 5.2.1 Mailbox cannot be accessed [HKAPR03CA0003.apcprd03.prod.outlook.com]     

点赞(41) 打赏

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部