0

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!

Oleks
  • 31,334
  • 11
  • 76
  • 131
shenn
  • 821
  • 4
  • 17
  • 43
  • Off topic, belongs on ServerFault. – Polynomial Jan 31 '12 at 16:54
  • How is this asp classic? – Greg B Jan 31 '12 at 16:54
  • Did you google for the error?http://www.google.co.uk/webhp?sourceid=chrome-instant&ix=heb&ie=UTF-8&ion=1#sclient=psy-ab&hl=en&site=webhp&source=hp&q=No+connection+could+be+made+because+the+target+machine+actively+refused+it+127.0.0.1%3A25+&pbx=1&oq=No+connection+could+be+made+because+the+target+machine+actively+refused+it+127.0.0.1:25+&aq=f&aqi=&aql=&gs_sm=e&gs_upl=3469l3610l0l3721l2l2l0l0l0l0l26l51l2l2l0&bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&fp=801755ba51f49d24&biw=1096&bih=961&ix=heb&ion=1 – Greg B Jan 31 '12 at 16:55
  • changed tag, sorry. Yes I googled... :( – shenn Jan 31 '12 at 16:56
  • Duplicate of http://stackoverflow.com/questions/5563229 – Greg B Jan 31 '12 at 16:56
  • my situation is slightly different than his, guess i'll have to look for help elsewhere – shenn Jan 31 '12 at 17:15

0 Answers0