Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Try
- Dim Mail As New MailMessage
- Mail.Subject = ""
- Mail.To.Add("[email protected]")
- Mail.From = New MailAddress("[email protected]")
- Mail.Body = ""
- Dim SMTP As New SmtpClient("smtp.gmail.com")
- SMTP.EnableSsl = True
- SMTP.Port = "587"
- SMTP.Send(Mail)
- Catch ex As Exception
- MessageBox.Show("Erro : " + ex.Message)
- End Try
Advertisement
Add Comment
Please, Sign In to add comment