2011-10-27 2 views
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> 

또한 내 서버에서는 작동하지만 가끔은 작동하는 것 같습니다.

어떤 도움을 주시면 감사하겠습니다.

답변

1

수정 사항을 발견했습니다. 누구든지 향후이를 보게되면 유용 할 수 있습니다. 대신 : <network host="MyEmailServer" port="25" userName="" password=""/> 내가 한 : <network host="192.168.0.1" port="25" userName="" password=""/> 여기서 192.168.0.1은 서버의 IP 주소입니다. 희망 도움이

관련 문제