0
내가 이메일을 보내려고하지만 아마존 AWS보내기 메일
내가 같이 postie 운반을 통해 이메일을 보낼 수임을 확인했다:
postie.exe의 -host : 이메일 SMTP .eu-west-1.amazonaws.com -port : 587 -ssl -tls -esmtp -to : [email protected] -from : [email protected] -s : "testmail"-msg : " XXXX -pass :이 테스트 "-user입니다 YYYY
하지만
<mailSettings>
<smtp from="[email protected]">
<network host="email-smtp.eu-west-1.amazonaws.com"
port="587"
userName="XXXX"
password="YYYY"
enableSsl="true"/>
</smtp>
</mailSettings>
Unhandled Exception: System.Net.Mail.SmtpException: Failure sending mail.
---> System.Net.WebException: Unable to connect to the remote server
---> System.Net.Sockets.SocketException:
No connection could be made because the target machine actively refused it
01 System.Net.Mail
를 통해 보내려고 할 때
제안 사항이 있으십니까?
Erik
SSL을 비활성화하고 포트 25를 온 전성 검사로 시도하십시오. –
같은 오류 메시지가 표시됩니다. 그러나 로컬 컴퓨터에서 실행할 때 작동하지만 서버에서 실행될 때 실패합니다. – barnonline
해당 서버에서 보내는 Windows 방화벽 설정을 확인 했습니까? –