This is the error I get
No connection could be made because the target machine actively refused it 127.0.0.1:25
here is my web.config snippet:
<mailSettings>
<smtp from="local@local.com">
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
I (think) I have setup my smtp server through IIS. I went into the IIS Manager tool set
e-mail address to:local@local.com
SMTP Server: localhost
Port: 25
Authentication Settings : Not required
By doing all of this, am I theoretically setting up my web application to send email from the localhost? not sure why I am getting that error?
Thanks!