信箱不可用.服务器响应为:5.7.1 无法为 abc@xyz.com 中继 [英] Mailbox unavailable. The server response was: 5.7.1 Unable to relay for abc@xyz.com

查看:44
本文介绍了信箱不可用.服务器响应为:5.7.1 无法为 abc@xyz.com 中继的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用 ASP.NET 发送邮件时,我收到邮箱不可用.服务器响应为:5.7.1 无法中继 abc@xyz.com".该站点部署在IIS7、Windows 2008服务器上.

I am getting "Mailbox unavailable. The server response was: 5.7.1 Unable to relay for abc@xyz.com" when I try to send the mail using ASP.NET. The site is deployed on IIS7, Windows 2008 server.

网站在 IIS6 和 Windows 2003 Server 上运行良好.我将它部署在 IIS7 上,2008 年它开始给我这个错误.

The website was working fine on IIS6 and Windows 2003 Server. I deployed it on IIS7, 2008 it has started giving me this error.

以前有人经历过吗?

推荐答案

啊,明白了...我成功了 :)

Aahh got it... I got it working :)

感谢克里斯托弗,您的建议是正确的.

Thanks Christopher, your suggesion is correct.

但是,找到默认 SMTP 虚拟服务器"很棘手;)

But, finding "Default SMTP Virtual Server" was tricky ;)

即使你使用 IIS7 来部署你的网站,你也必须打开 IIS6 管理器来配置 SMTP 服务器(为什么?).

Even if you use IIS7 to deploy your web site, you have to open IIS6 Manager to configure SMTP server (why?).

我如下配置了 SMTP 服务器以使其正常工作:

I configured SMTP server as follows to make things work:

  1. 使用控制面板打开 IIS6 管理器 --> 管理工具.
  2. 打开 SMTP 虚拟服务器属性.
  3. 在常规选项卡上,设置 IP 地址Web 服务器而不是所有未分配".
  4. 在访问选项卡中,单击中继按钮,这将打开继电器限制对话框.
  5. 在中继计算机列表中,添加环回 IP 地址,即 127.0.0.1和 Web 服务器的 IP 地址,以便他们可以通过 SMTP 服务器传递/中继电子邮件.

这篇关于信箱不可用.服务器响应为:5.7.1 无法为 abc@xyz.com 中继的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆