I need to send email from my ASP.NET application. For that I am using the following command from the command prompt to connect to the specific port on tk2smtp
:
telnet tk2smtp.msn.com 22
But it's showing the following error on the command prompt:
Could not open connection to the host
I installed a telnet client in my machine. Let me know if there are any other things to be configured for this.
telnet localhost 25
on the web server?