O'Reilly logo

The Microsoft Expression Web Developer's Guide to ASP.NET 3.5: Learn to create ASP.NET applications using Visual Web Developer 2008 by Jim Cheshire

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Sending Form Results to Email

IN THIS CHAPTER

Adding Server-Side Code to Send Email

Sending HTML Emails

Sending Emails with Attachments

Checkpoint

Adding Server-Side Code to Send Email

After making the configuration entries in the last chapter, the ASP.NET application is configured to send email. In this chapter, you’re going to write code that sends an email when a user submits the contact form created in Chapter 15.

Reviewing the Contact Form

It’s been a while since you last worked with the contact form, so here’s a quick review of the controls that exist in it. Table 24.1 lists each control and the data that each control supplies to the email you’ll be sending.

Table 24.1. Controls in the Contact Form

Adding the Code

To add the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required