Monday, March 25, 2013

hOW TO SET MAIL SETTING IN ASP.NET?

//IN WEB.CONFIG

<system.net>

<mailSettings>

<smtp>

<network host="smtp.servername" port="25" userName=noreply@servername password="*******"/>

</smtp>

</mailSettings>

</system.net>

No comments:

Post a Comment