Feed Icon  


  • Bryant Likes
  • Send mail to the author(s) E-mail
  • twitter
  • View Bryant Likes's profile on LinkedIn
  • del.icio.us
Get Microsoft Silverlight
by clicking "Install Microsoft Silverlight" you accept the
Silverlight license agreement

Hosting By

Hot Topics


Open Source Projects



Sending Mail in ASP.Net 2.0

Posted in ASP.Net/Web Services at Wednesday, December 21, 2005 8:56 AM Pacific Standard Time

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!

Monday, March 06, 2006 11:56:53 AM (Pacific Standard Time, UTC-08:00)
Comments are closed.