Sending Mail in ASP.Net 2.0
I hit an issue with the retrieve password control today when I tried to retrieve my password from my site. It threw an exception about the from address not being specified. After a quick google I came across this link that explains how to configure as well as send mail in ASP.Net 2.0.
System.Net.Mail reads SMTP configuration data out of the standard .NET configuration system (so for ASP.NET applications you’d configure this in your application’s web.config file).
Nice and easy! Thanks!