本文介绍了System.Net.Mail.SmtpClient.Sen ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
—SA
As there is the property System.Net.Mail.SmtpClient.Timeout, it''s natural that you can also expect timeout itself. See msdn.microsoft/en-us/library/system.mail.smtpclient.timeout.aspx[^].
After all, what the library should do if a SMTP server is broken after connection is already established, or Internet connection is lost or something like that?
—SA
大家好, 我想知道在使用SmtpClient.Send方法时收到操作超时"异常的可能情况是什么. 在此先感谢....
Hi guys, I would like to know what are the possible scenario where we get a Operation Timed Out Exception while using SmtpClient.Send method. Thanks in advance....
推荐答案由于存在属性System.Net.Mail.SmtpClient.Timeout,因此自然也可以期待超时.请参阅 msdn.microsoft/en-us/library /system.mail.smtpclient.timeout.aspx [ ^ ]. 毕竟,如果在建立连接后SMTP服务器断开,或者Internet连接丢失或类似的情况,该库应该怎么办?
更多推荐
System.Net.Mail.SmtpClient.Sen ...
发布评论