Friday, December 7, 2007

Source Code for Creating an ASP.NET Visitor Feedback Page

Source Code for Creating an ASP.NET Visitor Feedback Page
"Source Code for Creating an ASP.NET Visitor Feedback
Page Sub btnSendFeedback_Click(sender as Object, e as EventArgs) 'Create an instance of the MailMessage class Dim objMM as New MailMessage() 'Set the properties - send the email to the person who filled out the 'feedback form. objMM.To = 'webmaster@yoursite.com' objMM.From = txtEmail.Text 'If you want to CC this email to someone else, uncomment the line below 'objMM.Cc = 'someone@someaddress.com' 'If you want to BCC this email to someone else, uncomment the line below 'objMM.Bcc = 'someone@someaddress.com'"

No comments: