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>
它也似乎我的服務器上,但只是有時工作。
任何幫助,將不勝感激,謝謝。