0

当我尝试通过 SMTP 服务器发送邮件时出现异常。这是例外:

System.Net.Mail.SmtpException: Transaction failed. 
The server response was: 5.7.7 Sender Unknown in Local Domain . at 
System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at 
System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from) at 
System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String 
deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage 
message) at _Default.Button1_Click1(Object sender, EventArgs e) 
in d:\pjt\mail_check\Default.aspx.cs:line 39
4

1 回答 1

0

检查此链接。它可能会有所帮助

于 2012-11-16T12:00:18.170 回答