Chapter 24. Sending Form Results to Email
IN THIS CHAPTER
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.
Adding the Code
To add the ...