邮箱无法到达,邮件地址无法中继 [英] mailbox can not be reached, mail address can not relay

查看:141
本文介绍了邮箱无法到达,邮件地址无法中继的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用asp.net的smtpClient发送电子邮件,但是最近我发现它只能将电子邮件发送到与smtp服务器相同的域,如果我尝试从中发送电子邮件,则会出现以下错误:

I use asp.net's smtpClient to send email, but recently I found it can only send the email to the same domain as the smtp server, if i try to send the email out of that , it will have such error:

无法访问邮箱,*****无法中继****对不起,我不记得确切的消息了.

mailbox can not be reached, ***** can not relayed**** I am sorry, i can not remember the exact message.

但这从来没有发生过,为什么?

But this never happened before, why ?

预先感谢

推荐答案

您是否通过ASP.NET之外的同一服务器(例如Outlook)发送电子邮件?

Do you send email through the same server outside of ASP.NET (such as with Outlook)?

您可能会遇到以下两个问题之一:

You likely have one of two problems:

未配置SMTP服务器进行转发.这不是ASP.NET/编程问题.服务器必须设置为SMTP网关.

The SMTP server is not configured for forwarding. This is not an ASP.NET/programming issue. The server must be setup as an SMTP gateway.

您没有将用户名/密码凭证传递给服务器.在某些服务器上,只要您具有内部IP地址,您仍然可以发送内部"邮件,但是服务器将拒绝将电子邮件转发到外部地址.

You are not passing username/password credentials to the server. On some servers you will still be able to send "internal" mail as long as you have an internal IP address, but the server will refuse to forward email to outside addresses.

这篇关于邮箱无法到达,邮件地址无法中继的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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