Hack Forums
[.NET] [ Visual Basic 2008] Simple But Cool Features To Include In Your Program {Updated Often] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [ Visual Basic 2008] Simple But Cool Features To Include In Your Program {Updated Often] (/showthread.php?tid=98985)

Pages: Pages 1 2 3 4 5


- Apple - Jul 6, 2009

Add this one :P

"Send Email"

Code
Dim mail As New MailMessage()
            Dim SmtpServer As New SmtpClient
            SmtpServer.Credentials = New Net.NetworkCredential("[email protected]", "password")
            SmtpServer.Port = 587
            SmtpServer.Host = "smtp.gmail.com"
            SmtpServer.EnableSsl = True
            SmtpServer.EnableSsl = True
            mail.To.Add("reciever@anything")
            mail.From = New MailAddress("[email protected]")
            mail.Subject = (TextBox1.Text)
            mail.Body = (TextBox2.Text)
            SmtpServer.Send(mail)



- Sud0x3 - Jul 6, 2009

very informative for a beginner like me, thanks


- SecretProxy - Jul 6, 2009

(Jul 6, 2009 11:59 AM)GizSho Wrote:  Add this one :P

"Send Email"

Code
Dim mail As New MailMessage()
            Dim SmtpServer As New SmtpClient
            SmtpServer.Credentials = New Net.NetworkCredential("[email protected]", "password")
            SmtpServer.Port = 587
            SmtpServer.Host = "smtp.gmail.com"
            SmtpServer.EnableSsl = True
            SmtpServer.EnableSsl = True
            mail.To.Add("reciever@anything")
            mail.From = New MailAddress("[email protected]")
            mail.Subject = (TextBox1.Text)
            mail.Body = (TextBox2.Text)
            SmtpServer.Send(mail)

I've already posted a Email source code,but thanks anyway.

(Jul 6, 2009 12:05 PM)sud0x3 Wrote:  very informative for a beginner like me, thanks

No Problem 🙂


- WynD - Jul 6, 2009

Nice i just saw this. now that i am actually making legit stuff this will be very helpful


- SecretProxy - Jul 6, 2009

(Jul 6, 2009 12:19 PM)ExiL3d WynD Wrote:  Nice i just saw this. now that i am actually making legit stuff this will be very helpful

Glad To Help 🙂

Note : I Clicked The Egg ! lol


- Apple - Jul 7, 2009

I rated 5/5 and this needs to be stickied!


- SecretProxy - Jul 7, 2009

(Jul 7, 2009 02:16 AM)GizSho Wrote:  I rated 5/5 and this needs to be stickied!

Thank you!
Yes It Does!
I'll ask Omni.


- ChronicleForce - Jul 7, 2009

Oh really nice and thanks to the computer talk code


- SecretProxy - Jul 7, 2009

(Jul 7, 2009 06:43 AM)ChronicleForce Wrote:  Oh really nice and thanks to the computer talk code

Thanks ~
No Problem ~


- SØMNIUM.EXE - Jul 7, 2009

Cool, nice codes there! 🙂


- BlueMelon - Jul 8, 2009

I just need to say, It got my attention with the fade in and fade out, interresting stuff like that keep it interresting... take out the timer and check box stuff and add more "cool" things.
imo.


- GoldStar - Jul 8, 2009

i used to love playing with those, very basic ^^ coooool


- Pow3r - Jul 8, 2009

very useful, worth a +rep i think.

Thanks

Dman


- Tuborg - Jul 9, 2009

Haha, I'm liking the computer speech


- Ajax1 - Jul 9, 2009

Totally bookmarked! Perfect, along with:
Code
https://hackforums.net/showthread.php?tid=95717