从asp.net应用程序发送邮件时出错 [英] Error in Sending mail from asp.net application

查看:56
本文介绍了从asp.net应用程序发送邮件时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



从我的asp.net应用程序向其他域用户发送电子邮件时出现以下错误。邮件发送成功为相同的域用户而不是其他域。





SmtpFailedRecipientException被捕获

邮箱不可用。服务器的响应是:5.7.1无法中继



对此有何想法?

Hi,
I am getting the following error while sending an email to other domain users from my asp.net application. Mail sending successful for the same domain users but not other domain.


SmtpFailedRecipientException was caught
Mailbox Unavailable. The server response was: 5.7.1 Unable to relay

Any idea on this??

推荐答案

您好b $ b

这可能是因为不允许该帐户从邮件服务器配置向域外发送。要测试它,请使用您自己的凭据,如果可行,则排除停止该帐户在邮件服务器上发送的问题
Hi
This could be because the account is not allowed to send external to the domain from the mail servers configuration. To test this use your own credentials and if that works then troubleshoot whats stopping that account from sending on the mail server


这篇关于从asp.net应用程序发送邮件时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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