51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2150|回复: 0
打印 上一主题 下一主题

[求助] 关于QC的邮件发送问题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-1-17 16:16:02 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在站点管理界面中设置了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 编辑 ]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-28 02:49 , Processed in 0.075183 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表