51Testing软件测试论坛

标题: 设置自动邮件碰到的问题 [打印本页]

作者: tracy99999    时间: 2008-3-13 18:22
标题: 设置自动邮件碰到的问题
用admin登录到站点内进行了项目的增加以及用户增加等设置,都可以收到来自tduser的邮件通知;但是在客户端内登录后在缺陷内手动选择发送邮件至,打开这个邮件发送窗口内,选择了接收人,发送还是失败,不知道是什么原因呢;
信息如下:
Messages:
Failed to mail the specified entities;
Failed to mail the specified entities;
Failed to send mail to nff@gpdi.com;
Failed to send the message via mail server 'mail.gpdi.com.cn';
Sending failed;
  nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
;
Sending failed;
  nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
;

Error Code: 1049

Stack Trace:
javax.mail.SendFailedException: Sending failed;
  nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:375)
        wrapped in com.mercury.optane.core.CTdException: Sending failed;
  nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        javax.mail.SendFailedException: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:383)
at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:347)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1280)
        wrapped in com.mercury.optane.core.CTdException: Failed to send the message via mail server 'mail.gpdi.com.cn'
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMessage(CMailLogic.java:1282)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:477)
        wrapped in com.mercury.optane.core.CTdException: Failed to send mail to nff@gpdi.com
at com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:481)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:436)
        wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:439)
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:328)
        wrapped in com.mercury.optane.core.CTdException: Failed to mail the specified entities
at com.mercury.td.tdserver.api.logics.CMailLogic.sendEntity(CMailLogic.java:345)
at com.mercury.td.web.server.CTdServlet.redirectMailEntity(CTdServlet.java:1086)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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)
at com.mercury.optane.core.web.CAbsServlet.processRequest(CAbsServlet.java:535)
at com.mercury.td.web.server.CTdServlet.processRequest(CTdServlet.java:319)
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)
作者: kakamissyou    时间: 2008-3-18 16:31
标题: 同上
弄了好久没弄好,挺头痛!
作者: 木木妹    时间: 2008-3-19 11:45
标题: 回复 1# 的帖子
邮件服务连接有问题,我有一个关于这个方面的文档,给你看看

[ 本帖最后由 木木妹 于 2008-3-19 11:48 编辑 ]
作者: Johnny521    时间: 2008-3-19 14:08
怎么我不能添加附件啊
作者: hehekouke    时间: 2008-9-19 17:29
我也遇到这样的问题
怎么回事哦
三楼给的那是什么答案哦,没用……
作者: hehekouke    时间: 2008-9-19 17:29
还有谁也遇到了这样的问题,
分享下经验……
作者: goyaogo    时间: 2009-11-11 16:52
分享下经验……
作者: loneywang    时间: 2010-3-22 22:41
真是杯具
作者: Eling    时间: 2011-9-6 09:20
3楼的……浪费我的分了……
作者: Jerry_zhiyuan    时间: 2014-6-12 16:01
3楼的……浪费我的分了……




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