|
在站点管理界面中设置了SMTP服务器,设置成'mail.ABC.com',测试结果也是正确的。
但是在缺陷管理模块中发送具体的bug的时候提示出错。
提示信息如下:
Messages:
Failed to mail the specified entities;
Failed to mail the specified entities;
Failed to send mail to XXX@ABC.com;
Failed to send the message via mail server 'mail.ABC.cn';
Sending failed;
nested exception is:
class javax.mail.MessagingException: 501 command argument is not acceptable
;
Sending failed;
nested exception is:
class javax.mail.MessagingException: 501 command argument is not acceptable
;
Error Code: 1049
Stack Trace:
javax.mail.SendFailedException: Sending failed;
nested exception is:
class javax.mail.MessagingException: 501 command argument is not acceptable
at javax.mail.Transport.send0(Transport.java:218)
at javax.mail.Transport.send(Transport.java:80)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:338)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:309)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1113)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:403)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:365)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:268)
at com.mercury.td.web.server.CTdServlet.redirect_mailEntity(CTdServlet.java:2652)
at com.mercury.td.web.server.CTdServlet.doPost(CTdServlet.java:1392)
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:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:297)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:371)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:731)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:663)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:859)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
奇怪的是:
Failed to send the message via mail server 'mail.ABC.cn';
我明明在站点管理中设置的是mail.abc.com
可发送错误的提示信息里面为什么显示的是'mail.ABC.cn'呢?
请高人指点。先谢谢了~~~
想不明白啊,难道除了站点管理里面的邮件设置之外,还有其他地方可以进行设置?
注:邮件服务器地址,作了虚拟化处理:)
[ 本帖最后由 速水 于 2008-1-17 16:18 编辑 ] |
|