.:`=-~rANdOm~`-=:.
Tech Lounge => Programming => Topic started by: » Magic « on February 07, 2010, 01:53:17 PM
-
Make 2 TextBoxes
Make 1 Button
Then Add 2 Labels
--------------------------------------------------------------------
( Double Click Form What Ever Form Then Type This )
Inports System.Net.Mail
--------------------------------------------------------------------
( Double Click Button And Add This )
Dim smtpServer As New SmtpClient
Dim mail As New MailMessage()
smtpServer.Port = 587
smtpServer.Host = "smtp.gmail.com"
smtpServer.EnableSsl = True
mail = New MailMessage()
mail.From = New MailAddress("Your Gmail Here")
mail.To.Add("Your Gmail Here")
mail.Subject = TextBox1.Text
mail.Body = TextBox2.Text
smtpServer.Send(mail)
MsgBox("Message Sent", "Sent")
Have fun with this ya nubs :D
-Magic
-
Make a tutorial section or post there..
-
Make a tutorial section or post there..
I don't see anything wrong with where it has been posted?
-
I wish for a tut section.. then all of the tutorials from over the forumz will be moved thar
-
I wish for a tut section.. then all of the tutorials from over the forumz will be moved thar
I haz agreeance with joo
I may make many many tuts on many many things
-
there r so maneh tuts already.. + mah svn tut xD