Jump to content
pkruser

[ Help ] [ Visual Basic ] E-mail

Recommended Posts

Posted (edited)

Scurt si la subiect.

txtbox1 - user

txtbox2 - password

button1 - login

txtbox3 - e-mail text

button2 - send

label1 - message status

Un mic cod ar fi binevenit...

Astept raspuns / intrebari.

Stima !

P.S: Scuze, am vazut dupa postare ca am scris de pe contul asta...am ramas logat pe el, nu sunt nou, am cont vechi, dar postasem de pe acest cont intr'un topic despre poker .

P.S2: Yahoo Login.

Edited by pkruser
Posted
ar mai trebui u textbox pt mail subject si unu pt destinatar .. Mi se pare ca nai pus asta.... Sunt pe telefon ..o sa fac eu cand ajung acasa.

Asa e, am uitat .

Astept...

Posted


Sper ca te ajuta (Merge cu gmail) pt yahoo trebuie modificat putin!
Dim mail As New MailMessage
mail.Subject = TextBox4.Text
mail.To.Add(TextBox3.Text)
mail.Body = TextBox5.Text
mail.From = New MailAddress(TextBox6.Text)

Dim SMTP As New SmtpClient("smtp.gmail.com")
SMTP.EnableSsl = True
SMTP.Credentials = New System.Net.NetworkCredential(TextBox1.Text, TextBox2.Text)
SMTP.Port = "587"
SMTP.Send(mail)


Unde : textbox1.text = your gmail
textbox2.text = your password
textbox3.text = Victima (cui ii trimiti mail)
textbox4.text = subiect
textbox5.text = Body
textbox6.text = from

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...