I Orchard 1.10.1
을 사용하십시오. 전자 메일 보내기 작업이있는 양식을 제출 한 후 AppData/Logs
에이 오류가 표시됩니다.은 오차드 CMS에 양식을 제출할 때 전자 메일을 보낼 수 없습니다.
2016-12-01 10:39:07,242 [11] Orchard.Email.Services.SmtpMessageChannel -
Default - Could not send email [http://yxyxyx.com/Orchard.DynamicForms/Form/Submit]
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable network [2a00:1450:400c:c04::6d]:587
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
--- End of inner exception stack trace ---
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Orchard.Email.Services.SmtpMessageChannel.Process(IDictionary`2 parameters)
이 문제는 어떻게 해결해야합니까?
--------- 업데이트 --------- 구성
테스트 전자 메일 보내기가 실패합니다.
Unable to connect to the remote server
가 수정하여 configuration 및 오류가 사라한다 : 당신은 가능성이 가장 높은 로그 상태 때문에 잘못된 SMTP 구성이
메일 서버 SSL 포트가 587인지 확인하십시오! – mdameer
기본 포트 번호 25를 사용해보십시오. 작동하지 않는 경우 구성 데이터가있는 위치를 설명하십시오. QMail은 기본적으로 포트 25를 청취합니다. – ViRuSTriNiTy