51Testing软件测试论坛

标题: 关于QC8.2邮件设置问题? [打印本页]

作者: xipi2000    时间: 2006-9-4 15:42
标题: 关于QC8.2邮件设置问题?
小弟公司用的邮件服务器是Exchange,目前我在QC中制定SMTP服务器为Exchange服务器的地址,现在但凡公司内部网的邮箱都可以收到有tduser发来的缺陷通知信件,但是外部邮箱如sina或263等都无法发送过去。且QC系统报错!
Exchange上已经配置了名位tduser的用户,且直接登陆Exchange用tduser就可以发送到外网信箱。请各位同仁帮帮忙!sdlkfj9

报错信息:
Messages:
Failed to send mail. Please make sure that the server '10.16.28.15' of type smtp is configured correctly;
Invalid Addresses;
  nested exception is:
        class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for xipi2000@sina.com
;
Invalid Addresses;
  nested exception is:
        class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for xipi2000@sina.com
;

Stack Trace:
javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        class javax.mail.SendFailedException: 550 5.7.1 Unable to relay for xipi2000@sina.com

        at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:848)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:323)
        at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:295)
        at com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:801)
        at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectTestSendMail(CTdSiteAdminServlet.java:1615)
        at com.mercury.td.saserver.web.CTdSiteAdminServlet.doPost(CTdSiteAdminServlet.java:766)
        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.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)
作者: songfun    时间: 2006-11-18 10:56
应该是你邮箱设置不对造成的。
你的tduser的邮箱名是什么?
td默认发邮件有一个地址名,用普通用户登录的user又有自己的地址名,两种sendmail的方式不同。
你重新试试看,必要的话,发个图片上来。




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2