51Testing软件测试论坛

标题: QC发送邮件问题 [打印本页]

作者: wan_xie2007    时间: 2008-8-25 15:22
标题: 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
顶一下,望有人解答
作者: 小秋    时间: 2008-9-4 13:53
wanbiao@pdager.com.cn;
把 .cn 后缀去掉试试。
作者: wuli0622    时间: 2008-9-5 14:47
You must set the current user mail address to send a test mail;
你没有给当前用户设置邮件地址去发送测试邮件,怎么测试
作者: redforce    时间: 2008-9-9 16:01
是不是td中用户的email没有填写
建议用telnet  echo  mail from:   rcpt to:   data .这些命令去测试下你们的邮件服务是否能给你指定的邮箱发送邮件




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