Error: Failure sending mail … Unable to connect to the remote server

During my development, I bound into this error. The short error message is “Failure sending mail”. The long one is 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 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) I googled a bit Read more about Error: Failure sending mail … Unable to connect to the remote server[…]