51Testing软件测试论坛

标题: QC9.0发邮件的问题 [打印本页]

作者: hugh007    时间: 2008-7-7 14:16
标题: QC9.0发邮件的问题
我的Site Configurayion中mail_server_host配置的是公司的邮件服务器IP地址,没有发现可以配置端口的地方.(不知道是不是有)
测试发邮件的时候老是提示错误信息,也不知道还要配置哪里,请高手们指教一下,先谢谢拉!

Messages:
Failed to Test Send Mail;
Failed to send mail. Please make sure that the server '59.42.10.187' of type smtp is configured correctly;
553 authentication is required
;
553 authentication is required
;

Stack Trace:
javax.mail.MessagingException: 553 authentication is required

at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:334)
        wrapped in com.mercury.optane.core.CTdException: 553 authentication is required

at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:342)
at com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:711)
        wrapped in com.mercury.optane.core.CTdException: Failed to send mail. Please make sure that the server '59.42.10.187' of type smtp is configured correctly
at com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:724)
at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectTestSendMail(CTdSiteAdminServlet.java:730)
at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
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)
        wrapped in com.mercury.optane.core.CTdException: Failed to Test Send Mail
at com.mercury.optane.core.web.CAbsServlet.executeFunction(CAbsServlet.java:560)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
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)
作者: zte_boy    时间: 2008-7-7 14:29
检查你的邮件服务器配置,错误信息也很清楚了
Failed to send mail. Please make sure that the server '59.42.10.187' of type smtp is configured correctly
作者: hugh007    时间: 2008-7-7 16:39
公司的邮件服务器是没有问题的,我估计是qc的配置问题。就是不知道还有什么地方没有配置?
作者: fly    时间: 2008-7-7 16:42
公司邮件服务器是不是需要身份验证?去掉这个试试
作者: lhjtc8257    时间: 2008-8-18 11:21
如果邮件服务地址是gmail,但还是错误!
作者: qrz2000    时间: 2008-11-7 10:38
楼上的,问题解决了吗?




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