ASP.NET: How Do I: Send Email Asynchronously with ASP.NET

Posted in Frameworks, Companies, Development on April 12, 2009


Get Microsoft Silverlight

In this video, Chris Pels shows how to use the System.Net.Mail classes in ASP.NET to send an asynchronous email message. First, see how to configure a web site to send email using the element in the web.config file. Next, create a simple user interface for entering email information. Then learn how to create use the MailMessage class to create an email message in the code behind for the page. As part of that process create an event handler for the asynchronous callback following the sending of the email. In the event handler see how to use the instance of the AsynchCompletedEventArgs class which provides information about the email sending process. Finally, send a test email asynchronously, following the steps in the debug mode, and view the actual email received from the process.

Presented by Chris Pels

Date: 24 September 2008

Watch Video Watch Video Watch Video on External Site

Tags: Frameworks, Microsoft, ASP.NET, .NET Framework, Broadcasting, Screencasts, Development, Companies