Page view counter
HomeLearnVideosHow Do I: Implement Error Handling when Sending Email with ASP.NET  

[How Do I:] Implement Error Handling when Sending Email with ASP.NET

Please install Silverlight or click download to watch video locally.

Chris Pels shows how to implement error handling when sending an email with ASP.NET. He creates an ASP.NET web page to send email, shows how to configure in the web.config file, describes the System.Net.Mail class and how it’s used to create and send email messages. He then adds error handling using System.Net.Mail exception classes, which provide information about errors that can occur when sending email, and reviews the SmtpStatusCode enumeration, which provides a list of possible outcomes when sending an email with the SmtpClient. Finally, he sends a test email that raises an exception and reviews the error handling information in the Visual Studio debugger.

Presented by Chris Pels

Duration: 24 minutes, 28 seconds

Date: 06 November 2008

Watch    Video   |   Download    Video   |   VB Code    C# Code

Video downloads: WMV  |  Zune  |  iPod  |  PSP  |  MPEG-4  |  3GP

Audio downloads: AAC  |  WMA  |  MPEG-4  |  MPEG-3  |  MPEG-2

Comments : 7

Leave a Comment

djafer : On November 13, 2008 1:56 AM said:

Thaks a lot

ramy ramadan : On December 06, 2008 6:59 AM said:

Thanks  Chris Pels

rami_nassar : On December 11, 2008 5:12 PM said:

Thanks Chris

uwspstar : On February 04, 2009 12:22 PM said:

thanks

bohunt : On February 13, 2009 5:42 PM said:

Thanks.

Broady : On February 18, 2009 4:45 AM said:

Great video, thanks...

abhinandanbansal : On April 05, 2009 2:09 PM said:

it is very helpful for email error handling. thanks

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Microsoft Communities