如何解决交易失败服务器响应为:IRFRPAR-C690-06-D2-incoming.host.com
我正在尝试使用窗口凭据发送电子邮件。以下是我的代码:-
string to = "abc@host.com";
string from = "def@host.com";
MailMessage message = new MailMessage(from,to);
message.Subject = "Using the new SMTP client.";
message.Body = @"Using this new feature,you can send an email message from an application very easily.";
SmtpClient client = new SmtpClient("smtp.host.com");
client.UseDefaultCredentials = true;
try
{
client.Send(message);
}
catch (Exception ex)
{
Console.WriteLine(ex.ToString());
}
然后我收到此错误交易失败。服务器响应为:IRFRPAR-C690-06-D2-incoming.host.com
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。