Saturday, January 29, 2011

How to config SMTP Server in web.config file

<system.net>
<mailSettings>
<smtp>
<network host="0.0.0.0" port="25" userName="yourusername" password="password"/>
</smtp>
</mailSettings>
</system.net>

No comments:

Post a Comment