1
当我尝试发送一封电子邮件,我收到以下错误:无法从传输连接读取数据:net_io_connectionclosed。
Unable to read data from the transport connection: net_io_connectionclosed.
的电子邮件时,我在我的本地机器上运行它,但只要我把它上传到IIS它停止工作发送。
下面是我的web.config文件我的邮件设置:
<system.net>
<mailSettings>
<smtp from="">
<network host="MyEmailServer" port="25" userName="" password=""/>
</smtp>
</mailSettings>
</system.net>
它也似乎我的服务器上,但只是有时工作。
任何帮助,将不胜感激,谢谢。