我写了一个简单的应用程序通过GMail SMTP服务器发送电子邮件。但是,它在运行时返回一个异常。 在我的工作场所gmail被封锁(无法访问gmail.com)。是因为这个错误吗?这个错误是因为GMail被封锁了吗?
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebExceptio n: Unable to connect to the remote server ---> System.Net.Sockets.SocketExceptio n: A connection attempt failed because the connected party did not properly resp ond after a period of time, or established connection failed because connected h ost has failed to respond 74.125.113.109:587
gotcha。谢谢。 – xbonez 2010-11-17 15:54:49