.:`=-~rANdOm~`-=:.

Tech Lounge => Programming => Topic started by: » Magic « on February 07, 2010, 01:53:17 PM

Title: Email sender :D (-VB-)
Post 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 )


Code: [Select]
Inports System.Net.Mail

--------------------------------------------------------------------

( Double Click Button And Add This )


Code: [Select]
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
Title: Re: Email sender :D (-VB-)
Post by: xxMingebaggerxx on February 08, 2010, 11:45:28 AM
Make a tutorial section or post there..
Title: Re: Email sender :D (-VB-)
Post by: coolzeldad on February 08, 2010, 11:26:39 PM
Make a tutorial section or post there..

I don't see anything wrong with where it has been posted?
Title: Re: Email sender :D (-VB-)
Post by: xxMingebaggerxx on February 09, 2010, 08:43:54 AM
I wish for a tut section.. then all of the tutorials from over the forumz will be moved thar
Title: Re: Email sender :D (-VB-)
Post by: Krasher on February 09, 2010, 09:54:45 AM
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
Title: Re: Email sender :D (-VB-)
Post by: xxMingebaggerxx on February 10, 2010, 08:58:54 AM
there r so maneh tuts already.. + mah svn tut xD