Author: whitepaper | Posted on: 4/11/2009 3:40:45 PM | Views : 459

I have this
message whenever I run the code and enter the  Button2  button
The Code inside that  button is as follows:
 
1 Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
2 If Page.IsValid() Then
3 Dim mySmtpClient As New SmtpClient
4
5 Dim myMail As New MailMessage
6 Dim myFrom As New MailAddress("ab@localhost.com")
7 Go to the complete details ...