51Testing软件测试论坛

标题: QC邮件配置问题 [打印本页]

作者: lhjtc8257    时间: 2008-8-18 09:52
标题: QC邮件配置问题
求帮,QC需要配置邮件发送
但总是失败,求原因(使用的邮件服务器是gmail的)
[attach]44821[/attach]
请求帮助!
作者: lhjtc8257    时间: 2008-8-18 10:56
请帮助!!!
作者: lhjtc8257    时间: 2008-8-18 11:11
Messages:
Failed to Test Send Mail;
Failed to send mail. Please make sure that the server '209.85.143.109' of type smtp is configured correctly;
530 5.7.0 Must issue a STARTTLS command first. 22sm6695433tim.10
;
530 5.7.0 Must issue a STARTTLS command first. 22sm6695433tim.10
;

Stack Trace:
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. 22sm6695433tim.10

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: 530 5.7.0 Must issue a STARTTLS command first. 22sm6695433tim.10

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 '209.85.143.109' 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.GeneratedMethodAccessor75.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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
作者: lhjtc8257    时间: 2008-8-18 11:11
gmail的stmp为:209.85.143.109
作者: lhjtc8257    时间: 2008-8-18 16:32
已经解决了!
作者: wan_xie2007    时间: 2008-8-25 16:13
标题: 我有类似问题
不过我的邮件服务器配置没问题
但仍然不能测试通过,不知道是什么原因
高手指点迷津!
作者: marysnow    时间: 2008-9-18 18:51
楼主,请将你的解决方法贴出来,可以帮助其他人遇到问题后,知道如何解决?
作者: 尚云鹏    时间: 2008-9-18 22:32
标题: 疑问!
**@gmial.com这样的邮箱能收到么?
是SMTP不是STMP!
作者: hehekouke    时间: 2008-9-19 17:43
把解决编发贴出来哈
分享下……
作者: qrz2000    时间: 2008-11-13 11:52
同问楼主
作者: arik    时间: 2008-11-18 10:15
请问该问题解决了没,我现在也遇到同样的问题
作者: fanyw    时间: 2009-1-8 15:51
标题: 回复 3# 的帖子
这个问题怎么解决的,告诉大家啊,我也碰到同样问题的啊,
作者: csjun    时间: 2009-3-9 14:48
终于被我找到原因了,原因是SMTP中继限制的问题。
作者: bai123456789    时间: 2009-6-17 10:44
QC需要配置邮件发送失败,求解决原因




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