Language

[How Do I:] Create a Reusable Component for Sending Email to a Distribution List

By |35 minutes|
In this video Chris Pels shows how to create a component that can be used on multiple web pages and web sites that sends emails to a list of recipients. First, the ASP.NET web site will be configured to send email using the in the web.config file. Then a class and several methods are created to read a list of recipients from a data source (DB, XML, etc.) and send an email message to each of the recipients using the System.Net.Mail classes. As part of this process exception handling is included. In addition, a user interface is created to allow the user to specify items such as the From address, Subject, add an attachment, etc.

DOWNLOADS: Code (C#)|Code (VB)|MP3|MP4|WMV

Chris Pels

By Chris Pels, Chris has been instrumental in the architecture, development, and implementation of a wide variety of business systems and databases as a technology consultant since 1986. He has extensive experience in business analysis, technical specifications, database design, several programming languages including C# and VB.NET, and statistical analysis. He holds a Ph.D. from The University of Michigan and has been a speaker at Microsoft TechEd, Microsoft DevDays, VSLive, numerous events in New England

Table of Contents

How Do I?

Tailspin Spyworks

Building 3.5 Applications

Authentication

SQL 2005

VS 2005

Migrating

Building 2.0 Applications

IIS

Visual Studio 2010

Ajax Control Toolkit

ASP.NET AJAX

Data Access

ASP.NET Dynamic Data

ASP.NET 3.5

jQuery

.NET 4

ASP.NET Web Forms vNext

ASP.NET vNext

Visual Studio vNext

Pluralsight Introduction to ASP.NET 4 WebForms