通过system.net发送电子邮件时出现错误553 [英] error 553 while Sending email via system.net

查看:153
本文介绍了通过system.net发送电子邮件时出现错误553的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经在.net框架中开发了一个用vb编码的应用程序.
该应用程序已经运行了6个月,直到昨天.发生与子例程(sendEmail)相关的突然错误

我有一个godaddy托管和电子邮件帐户,我正在我的应用程序中使用该帐户向用户发送异步电子邮件.

我的麻烦是(突然变成了蓝色)服务器拒绝了我的电子邮件,并返回以下错误:
错误邮箱名称不允许.服务器响应是:很抱歉,该域不在我允许的rcpthosts列表中.

关于代码的一些解释
所以我正在上课
System.Net.Mail.SmtpClient

并只需设置端口和用户名/密码之类的设置

就像我已经提到的那样,该应用程序直到最近都运行良好.
我已经做过Google搜索并访问了多个论坛,他们都在谈论与Outlook相关的问题...
有人可以帮忙吗?

Hello Everyone,

I have developed an application in .net frame work, coded in vb.
This application was working for a good 6months until yesterday. a sudden error is occuring which is related to the subroutine(sendEmail)

I have a godaddy hosting&email account which i am using in my application to send async emails to clients.

my trouble is now(all of sudden from the blue) that the server rejects my email and comes back with the following error :
Error Mailbox name not allowed. The server response was: Sorry, that domain isn''t in my list of allowed rcpthosts.

A little explanation on the code
so i am using the class
System.Net.Mail.SmtpClient

and simply set up the settings such as port and username/password

and as i mentioned already, the application was working just fine until recently.
i already did a google search and visited multiple forums, they are all talking about Outlook related problems...
could anyone please help?

推荐答案

可能有多种原因,但是在所有情况下,这都是基于提供商安全机制的变化.
您是否尝试发送带有"FROM"标头的电子邮件,该标头与凭据的用户名不同?
提供程序是否将您的计算机列入垃圾邮件发送者黑名单?
There can be several reasons, but in all cases it is based on a change of security mechanisms of your provider.
Did you try to send an email with a "FROM" header different than the user name of your credentials?
Did the provider put your computer on a blacklist of spammers?


此错误消息是由于身份验证失败所致.
检查smtp服务器网址是否正确.
检查用户名和密码是否仍然有效(即手动登录)
检查是否需要ssl ...
This error message is due to an authentication failure.
check that the smtp server url is correct.
check that the username and passwords are still working (ie log on manually)
check that ssl is required or not...


这篇关于通过system.net发送电子邮件时出现错误553的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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