|
提示:发送指定实例失败。
问题1:为什么我用ADMIN登陆发邮件提示发送成功,可以发送到mail direct pro上。
问题2:当我用测试人员的账号登陆时,发送邮件提示:发送指定实例失败
求那位大神指点一下。
Messages:
Failed to mail the specified entities;
Failed to mail the specified entities;
Failed to send mail to ******@163.com;
Failed to send the message via mail server '127.0.0.1';
Sending failed;
nested exception is:
javax.mail.MessagingException: 500 Invalid FROM address
;
Sending failed;
nested exception is:
javax.mail.MessagingException: 500 Invalid FROM address
;
Error Code: 1049
Stack Trace:
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 500 Invalid FROM address
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:375)
wrapped in com.mercury.optane.core.CTdException: Sending failed;
nested exception is:
javax.mail.MessagingException: 500 Invalid FROM address
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:383)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:347)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1280)
wrapped in com.mercury.optane.core.CTdException: Failed to send the message via mail server '127.0.0.1'
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1282)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:477)
wrapped in com.mercury.optane.core.CTdException: Failed to send mail to*****@163.com
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:481)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:436)
wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:439)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:328)
wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:345)
at com.mercury.td.web.server.CTdServlet.redirectMailEntity(CTdServlet.java:1086)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:554)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
at com.mercury.td.web.server.CTdServlet.processRequest(CTdServlet.java:319)
at com.mercury.optane.core.web.CAbsServlet.doPost(CAbsServlet.java:418)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:481)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534) |
|