Problemas con el envío de correo electrónico smtp de asp.net

Este es el error que me sale

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?

¡Gracias!

preguntado el 31 de enero de 12 a las 16:01

Off topic, belongs on ServerFault. -

How is this asp classic? -

Did you google for the error?google.co.uk/… -

changed tag, sorry. Yes I googled... :( -

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.