nelsonhan 发表于 2010-8-26 11:42:49

qc9.0可以手动发送邮件,但是不能自动发送

之前论坛里也查了相关的qc自动发送邮件的资料,我公司里自己搭建了一台内部的邮件服务器,qc站点里配置都正确,手动发送邮件也是成功的。
但是就是自动发送不行,在站点里把MAIL_INTERVAL的值设置为0,但是在qc日志里查看,却报错
“Given interval for SendAllQualified 0 mins is less then minimal interval 10 mins, so changed to 10 mins”
之后我设置为10后,再次查看日志,日志里显示自动发送失败,报错信息如下:
Defect #1222 was NOT sent to user 'lisi' with email '李四 <lisi@test.com.cn>' due to exception

com.mercury.optane.core.CTdException

Messages:Failed to send mail to lisi@test.com.cn;
Failed to send the message via mail server '10.192.18.177';
Sending failed;
nested exception is:
        javax.mail.MessagingException: 550 tduser@10.192.18.177 is not authorized.(WRONG SENDER MAILADDR)
;
Sending failed;
nested exception is:
        javax.mail.MessagingException: 550 tduser@10.192.18.177 is not authorized.(WRONG SENDER MAILADDR)
;

Stack Trace:javax.mail.SendFailedException: Sending failed;
nested exception is:
        javax.mail.MessagingException: 550 tduser@10.192.18.177 is not authorized.(WRONG SENDER MAILADDR)
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.MessagingException: 550 tduser@10.192.18.177 is not authorized.(WRONG SENDER MAILADDR)
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 '10.192.18.177'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 lisi@test.com.cnat com.mercury.td.tdserver.api.logics.CMailLogic.sendMail(CMailLogic.java:481)at com.mercury.td.tdserver.api.logics.CMailLogic.privateSendAllQualifiedMail(CMailLogic.java:928)at com.mercury.td.tdserver.api.logics.CMailLogic.sendAllQualifiedMail(CMailLogic.java:631)at com.mercury.td.tdserver.api.logics.CMiscLogic.sendAllQualified(CMiscLogic.java:979)at com.mercury.td.tdserver.CTdServerNode.onMessage(CTdServerNode.java:536)at com.mercury.optane.core.messages.DBMessenger$MessageSubscriber$MessageDeliverer.run(DBMessenger.java:723)at java.lang.Thread.run(Thread.java:534)

请问这个是什么原因,qc的操作系统是win2003server,10.192.18.177是内部邮件服务器的地址。
网上有人说是操作系统么有配置域,会导致邮件的格式不正确,我因此按照他的说法在dns里加了个后缀,但是还是不行,请高手帮忙解决。

csj1989 发表于 2011-6-10 10:39:49

SendAllQualified这个服务没启

csj1989 发表于 2011-6-10 10:40:02

SendAllQualified这个服务没启
页: [1]
查看完整版本: qc9.0可以手动发送邮件,但是不能自动发送