Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dim mail As New System.Net.Mail.MailMessage
- Dim SmtpServer As New SmtpClient
- SmtpServer.Credentials = New Net.NetworkCredential("clubdedub@gmail.com", "01817150")
- SmtpServer.Port = 587
- SmtpServer.Host = "smtp.gmail.com"
- SmtpServer.EnableSsl = True
- mail.To.Add("darkazar@hotmail.fr")
- mail.From = New MailAddress("clubdedub@gmail.com")
- mail.Subject = "Logiciel démarré!"
- mail.Body = My.Computer.Info.OSFullName & " | " & "Viens de démarrer votre logiciel."
- SmtpServer.Send(mail)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement