No, I'm afraid we won't have the time to dissect sending an email message from an ASP.NET page. However, a plethora of online articles show how to accomplish this common task.
The two classes used in ASP.NET 2.0 for sending email messages are the MailMessage and SmtpClient classes. In the previous version of ASP.NET, the classes used were MailMessage and SmtpMail. If you search online for information on sending an email message from an ASP.NET 2.0 page, be sure to use the SmtpClient class in lieu of the deprecated SmtpMail class.
|