• 我用.NET发邮件时,系统报如下错误怎么解决?
  • 发布于 2个月前
  • 90 热度
    1 评论
  • 林丹丹
  • 0 粉丝 11 篇博客
  •   

最近在用.NET做一个邮件系统,在本机测试OK,发布到服务器后点击发送邮件会报如下错误:

at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.RecipientCommand.Send(SmtpConnection conn, String to, String& response)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
有谁知道这是什么错误吗?该如何解决?


用户评论