The Problem: You have a brand new Windows 2008 server and you are testing your web application and trying to send an email. Every time you try to send an email via the web application you get the following error
“System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:25”
The Cause: SMTP services are not installed on the server, they do not seem to be installed by default. Continue reading →