51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2274|回复: 1
打印 上一主题 下一主题

[原创] qc测试和手动发邮件不成功(smtp协议)

[复制链接]
  • TA的每日心情

    2016-8-3 14:59
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    跳转到指定楼层
    1#
    发表于 2015-6-2 11:02:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
    本帖最后由 huan_128 于 2015-6-2 15:03 编辑

    测试时的代码:
    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


    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

  • TA的每日心情

    2016-8-3 14:59
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    2#
     楼主| 发表于 2015-6-3 09:18:21 | 只看该作者
    问题解决了,不过只能手动发邮件,
    原因是win7下,mail direct pro只是试用版,只能测试通过,手动邮件发不出去,邮箱的地址非法。
    在windows server 2003,从网上找资料,照常设置,就能成功。
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-9-27 17:27 , Processed in 0.076188 second(s), 23 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表