This sample console application demonstrates the power of
the .NET Framework by using a small amount of code to provide a complete
solution for emailing reports from a SQL Server database. Hopefully, you will
find it useful just as it is or maybe even add features to it that will meet
your specific needs.