wan_xie2007 发表于 2008-8-25 15:22:35

QC发送邮件问题

1.测试时的错误提示信息
Messages:
Failed to Test Send Mail;
You must set the current user mail address to send a test mail;

Stack Trace:
com.mercury.optane.core.CTdException: You must set the current user mail address to send a test mail
at com.mercury.td.saserver.api.logics.CAdminLogic.GetCurrentUserMailAddress(CAdminLogic.java:761)
at com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:690)
at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectTestSendMail(CTdSiteAdminServlet.java:730)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
……


2.手动发送邮件的错误提示信息
Messages:
Failed to mail the specified entities;
Failed to send mail to wanbiao@pdager.com.cn;
Failed to send the message via mail server '211.94.188.22';
Sending failed;
nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
        javax.mail.SendFailedException: 504 5.5.2 <pdager-qc>: Helo command rejected: need fully-qualified hostname
;
Sending failed;
nested exception is:
        javax.mail.SendFailedException: Invalid Addresses;
……

说明:1).邮件服务器是正常的,公司就是用该邮件服务器outlook
             2.)为linux系统,不存在IIS设置问题

DF11G 发表于 2008-9-3 17:59:29

顶一下,望有人解答

小秋 发表于 2008-9-4 13:53:28

wanbiao@pdager.com.cn;
把 .cn 后缀去掉试试。

wuli0622 发表于 2008-9-5 14:47:16

You must set the current user mail address to send a test mail;
你没有给当前用户设置邮件地址去发送测试邮件,怎么测试

redforce 发表于 2008-9-9 16:01:18

是不是td中用户的email没有填写
建议用telnetechomail from:   rcpt to:   data .这些命令去测试下你们的邮件服务是否能给你指定的邮箱发送邮件
页: [1]
查看完整版本: QC发送邮件问题