测试时的代码:
Messages:
Failed to Test Send Mail;
You must set the current user mail address to send a test mail;
手动测试:
Messages:
Failed to mail the specified entities;
Failed to mail the specified entities;
Failed to send mail to 964397595@qq.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: 1049
找到原因:qc发出去的邮件地址是非法的(tduser@127.0.0.1),这个怎么解决啊。
已经设置了mail direct pro
[attach]95612[/attach]
作者: huan_128 时间: 2015-6-3 09:18
问题解决了,不过只能手动发邮件,
原因是win7下,mail direct pro只是试用版,只能测试通过,手动邮件发不出去,邮箱的地址非法。
在windows server 2003,从网上找资料,照常设置,就能成功。