No connection could be made because the target machine actively refused it 127.0.0.1:25 Description: An unhandled exception occurred during the execution of the current web requ
I got the error with smtp services installed but not started. To start services on the local machine with smtp already installed, here's the steps I took:
You forgot to start your SMTP server on that machine
Please don't tell you don't have a SMTP server on that machine. But, if you have to tell that, refer to this page and this page also
Even if you configure the local SMTP server, your emails are most likely to end up in spam folder. Better use the SMTP server of your email provider. If you are using Gmail, have a look at here