cleanzhj 发表于 2014-8-25 14:50:03

QC中,邮件测试通过,但手动发送邮件出错,请高人指教

报错信息如下:Messages:Failed to mail the specified entities;Failed to mail the specified entities;Failed to send mail to XXXX@163.com;Failed to send the message via mail server '127.0.0.1';Sending failed;nested exception is:javax.mail.MessagingException: Could not connect to SMTP host: 127.0.0.1, port: 25;Sending failed;nested exception is:javax.mail.MessagingException: Could not connect to SMTP host: 127.0.0.1, port: 25;Error Code: 1049Stack Trace:javax.mail.SendFailedException: Sending failed;nested exception is:javax.mail.MessagingException: Could not connect to SMTP host:127.0.0.1, port: 25at 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)......at java.lang.Thread.run(Thread.java:534) 查了好多资料,还是没找到答案,请高手指教

cleanzhj 发表于 2014-8-25 14:55:27

本人使用Mail Direct Pro工具

Miss_love 发表于 2014-8-30 17:10:54

服务器地址连不上貌似是。

msnshow 发表于 2014-8-30 17:14:25

连不上127.0.0.1,改为本机的IP,不要使用127.0.0.1试试
页: [1]
查看完整版本: QC中,邮件测试通过,但手动发送邮件出错,请高人指教