Tuesday, 5 January 2010

Configuring SMTP in web.config

 <system.net>
    <mailSettings>
      <smtp from="fromuser@fromaddress.net">
        <network host="smtp.myhost.com" password="abracadabra" userName="myusername"/>
      </smtp>
    </mailSettings>
  </system.net>

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!