Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

SmtpClient send method is not working on Windows Server 2012 (smtp.office365.com)

$
0
0

My asp.net application is sending mails correctly on my development system (windows 7 64bit) deployed on IIS. However the same application deployed on Windows Server 2012 64 bit does not send mails. 

The following error message is shown

  • System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 191.234.140.34:587 at system.net.ServicePoint.ConnectSocketInternal.........

What could be wrong?

Could you please help me to fix this problem


thanks and regards

venkatesh g


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>