中继访问被拒绝,system.net.mail

发布于 2024-09-02 10:02:05 字数 529 浏览 5 评论 0原文

我们有一个 aspx.net 站点,它使用外部托管的 Web 服务器向用户发送邮件。

这种方法多年来一直运行良好,每天发送 100-1000 封邮件,但最近用户开始报告他们没有收到邮件 - 有时他们收到所有邮件(2-100 封),有时只收到 40-60 封邮件%。

所有邮件的格式相同并具有相同的内容(除了一些动态字段,如姓名、密码等)。

我查看了错误日志,现在当邮件丢失时我看到此错误:

system.net.mail.smtpexception: transaction failed the server response was: <[email protected]> Relay access denied

任何反馈都会被采纳。

问候和快乐的编码, 托马斯

We have a aspx.net site which send out mail to users using a web server hosted externly.

This have been working perfectly for a couple of years sending 100-1000 mails pr day, but recently users have started to report that they do not recieve mails - some days they recieve all mails (2-100) and some days only 40-60%.

All mails are formatted equal and have the same content (except for some dynamic fields like name, password etc).

I've looked at my error log and now I see this error when mails are lost:

system.net.mail.smtpexception: transaction failed the server response was: <[email protected]> Relay access denied

Any feedback would be appriciated.

Regards and happy coding,
Thomas

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一口甜 2024-09-09 10:02:05

“中继访问被拒绝”通常是因为邮件服务器无法识别发件人地址中的domain.tld 域,因此不会代表发件人发送邮件,或者是因为服务器需要未提供的 SMTP 身份验证。

"Relay access denied" is usually caused either because the mail server doesn't recognize the domain.tld domain in the senders address so wont send mail on their behalf, or because the server requires SMTP authentication which was not provided.

烟若柳尘 2024-09-09 10:02:05

尝试中继邮件的服务器需要对 SMTP 发送的邮件进行身份验证。因此,请尝试使用域凭据发送邮件。

server which trying to relay message requires authentication from the mail which SMTP sent.So try to use domain credentials to send mail.

倥絔 2024-09-09 10:02:05

SMTP 服务器可以配置为在高负载下拒绝您的请求。

SMTP server can be configured to reject your requests under high load.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文