邮箱测试失败


这个服务器可以设置邮箱吗?SMTP.partner.outlook.cn

image.png


com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [SHXPR01CA0020.CHNPR01.prod.partner.outlook.cn]

 

 at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2108) 

 at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1609) 

 at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1117) 

 at com.fr.base.EmailManager.send(Unknown Source) 

 at com.fr.base.EmailManager.send(Unknown Source) 

 at com.fr.base.EmailManager.send(Unknown Source) 

 at com.fr.base.EmailManager.send(Unknown Source) 

 at com.fr.base.EmailManager.send(Unknown Source) 

 at com.fr.base.EmailManager.send(Unknown Source) 

 at com.fr.base.EmailManager.sendTestMail(Unknown Source) 

 at com.fr.decision.webservice.v10.config.ConfigService.testEmailConnection(Unknown Source) 

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 

 at java.lang.reflect.Method.invoke(Method.java:498) 

 at com.fr.decision.config.ConfigInterceptor.intercept(Unknown Source) 

 at com.fr.decision.webservice.v10.config.ConfigService$$EnhancerByCGLIB$$fb9e39a3.testEmailConnection(<generated>) 

 at com.fr.web.controller.decision.api.config.EmailResource.testEmail(Unknown Source) 

 at com.fr.web.controller.decision.api.config.EmailResource$$FastClassBySpringCGLIB$$6124e2a1.invoke(<generated>) 

 at com.fr.third.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:201) 

 at com.fr.third.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:710) 

 at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) 

 at com.fr.third.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:43) 

 at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168) 

 at com.fr.third.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) 

 at com.fr.third.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) 

 at com.fr.third.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:646) 

 at com.fr.web.controller.decision.api.config.EmailResource$$EnhancerBySpringCGLIB$$24e1ccbd.testEmail(<generated>) 

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 

 at java.lang.reflect.Method.invoke(Method.java:498) 

 at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221) 

 at com.fr.third.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) 

 at com.fr.third.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) 

 at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:747) 

 at com.fr.third.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:676) 

 at com.fr.third.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) 

 at com.fr.third.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938) 

 at com.fr.third.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) 

 at com.fr.third.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) 

 at com.fr.third.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863) 

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) 

 at com.fr.third.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) 

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) 

 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) 

 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 

 at com.fr.third.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) 

 at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 

 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 

 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 

 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 

 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 

 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 

 at com.fr.decision.base.DecisionServletInitializer$6.doFilterInternal(Unknown Source) 

 at com.fr.third.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) 

 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 

 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 

 at com.fr.decision.base.DecisionServletInitializer$4.doFilter(Unknown Source) 

 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 

 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 

 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) 

 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) 

 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543) 

 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) 

 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) 

 at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688) 

 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) 

 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) 

 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:609) 

 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) 

 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818) 

 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623) 

 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 

 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 

 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 

 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 

 at java.lang.Thread.run(Thread.java:748) 


FineReport 靈靈 发布于 2020-9-3 12:56
1min目标场景问卷 立即参与
回答问题
悬赏:3 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
zsh331Lv8专家互助
发布于2020-9-3 13:09

楼主:邮件服务器正常的话,参考下图,切换下【端口和加密方式】再测测!


image.png

  • 靈靈 靈靈(提问者) 好了,谢谢了。
    2020-09-03 13:45 
  • zsh331 zsh331 回复 靈靈(提问者) 表客气
    2020-09-03 13:53 
  • 2关注人数
  • 552浏览人数
  • 最后回答于:2020-9-3 13:09
    请选择关闭问题的原因
    确定 取消
    返回顶部