PDA

View Full Version : سوال: خطای زیر در ارسال ایمیل در اثر چیه؟



majid784
دوشنبه 22 خرداد 1391, 09:11 صبح
سلام. دوستان. در ارسال ایمیل من با خطای زیر مواجه میشم.

System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:25 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Bool ean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, 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, Int32 timeout) at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, 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(Strin g host, Int32 port) at System.Net.Mail.SmtpClient.Send(MailMessage message)


وقتی با دستور telnet پورت 25 رو چک میکنم. میتونم بهش کانکت بشم. کسی میدونه مشکل از کجاست؟

)