I am trying to send an email from the ASP.NET page.
But I get the error
No connection could be made because the target machine actively refused it 127.0.0.1:25
I have the following code in my web.config file
Actually the port 25 is blocked .if i try with anyother port I get the error .
I tried with port 465 also I got the same error.
can anyone suggest me which port I can use or how can I overcome this error and send an e mail from the Web page