Results 1 to 4 of 4
  1. #1
    Gilcrow's Avatar
    Join Date
    Oct 2006
    Gender
    male
    Posts
    1,370
    Reputation
    31
    Thanks
    86
    My Mood
    Breezy

    [TUT]EmailBomber Application

    People made some, no one explained how to was done
    most likley because they copy and pasted there code.
    hence they all required gmail accounts.

    Anyway

    Firstly create a new form with

    4 x Textboxes
    Named
    - EmailBox
    - SubjBox
    - UserBox
    - PassBox
    1 x RichTextBox
    Named
    -MsgBox
    1 x Timer
    Named
    - Timer1
    3 Buttons
    Named / Lable
    - SendBtn / Send
    - StopBtn / Stop
    - ExitBtn / Exit

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

    Now double click the form to bring up the source code, insert this
    code line at the verry top

    Code:
    Imports System.Net.Mail
    -------------------------------------------------------

    We will now sort the buttons, Starting with SendBtn
    Double click the button and add the following code....

    Code:
    Timer1.Start()
    Next we move onto the Stop button...

    Code:
    Timer1.Stop()
    The final button Exit

    Code:
    End
    ----------------------------------------------------------

    Now lets move onto the timer

    Instert the following code after double clicking the timer.

    Code:
            Dim MyMailMessage As New MailMessage()
            MyMailMessage.From = New MailAddress(UserBox.Text)
            MyMailMessage.To.Add(EmailBox.Text)
            MyMailMessage.Subject = (SubjBox.Text)
            MyMailMessage.Body = MsgBox.Text
            Dim SMTPServer As New SmtpClient("smtp.live.com")
            SMTPServer.Port = 587
            SMTPServer.Credentials = New System.Net.NetworkCredential(UserBox.Text, PassBox.Text)
            SMTPServer.EnableSsl = True
            SMTPServer.Send(MyMailMessage)
    ===============================================

    Done, and now to explain that final code block


    Dim MyMailMessage As New MailMessage()
    //Gives MyMailMessage the meaning of New MailMessage()

    MyMailMessage.From = New MailAddress(UserBox.Text)
    //Sets the from email address of our new email to a New MailAddress, based on the content of UserBox.Text

    MyMailMessage.To.Add(EmailBox.Text)
    // This adds another email address to the send like, based again on the text in the email box

    MyMailMessage.Subject = (SubjBox.Text)
    // Sets the email subject to the value of SubjBox

    MyMailMessage.Body = MsgBox.Text
    // Sets the body of the email from what was entered into our rich textbox
    "MsgBox"

    Dim SMTPServer As New SmtpClient("smtp.live.com")
    // Set SMTPServer as a new smtpclient, which is smtp.live.com ( this is the mail server for msn)

    SMTPServer.Port = 587
    // Set our servers port

    SMTPServer.Credentials = New System.Net.NetworkCredential(UserBox.Text, PassBox.Text)
    //Get the user information required to send an email from the server

    SMTPServer.EnableSsl = True
    //EnableSsl ¬_¬

    SMTPServer.Send(MyMailMessage)
    // And Finally send out email
    =============================================

    Now im sorry for any spelling mistakes but i wrote this on the spot
    in about 5mins.
    Last edited by Gilcrow; 10-10-2009 at 03:16 PM.

  2. The Following 3 Users Say Thank You to Gilcrow For This Useful Post:

    blueyecatz (10-21-2014),maarten551 (10-10-2009),selex2808 (04-27-2012)

  3. #2
    maarten551's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    255
    Reputation
    10
    Thanks
    75
    My Mood
    Mellow
    i found a error :P

    Code:
    Import System.Net.Mail
    need to be
    Code:
    Imports System.Net.Mail
    for the rest:

    i love the code tnx :P
    it works by me

  4. #3
    Gilcrow's Avatar
    Join Date
    Oct 2006
    Gender
    male
    Posts
    1,370
    Reputation
    31
    Thanks
    86
    My Mood
    Breezy
    corrected, and uploaded source

  5. #4
    K4GE's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    311
    Reputation
    13
    Thanks
    65
    My Mood
    Inspired
    Nice tutorial,
    im sure this will help some people.
    Thanks for posting.

Similar Threads

  1. [TuT] You First C++ Console Application
    By sam22 in forum Programming Tutorials
    Replies: 6
    Last Post: 11-30-2010, 07:56 PM
  2. Helbreath International Hack/GM Hack tut
    By xxaznrjaexx in forum Hack Requests
    Replies: 1
    Last Post: 01-27-2006, 02:42 AM
  3. Tut. for k. gunz or J. gunz?
    By i eat trees in forum Hack Requests
    Replies: 0
    Last Post: 01-19-2006, 02:56 PM
  4. In-Depth Tut. to hacking in War Rock (Conc. to Dave)
    By fl0 in forum WarRock - International Hacks
    Replies: 15
    Last Post: 01-18-2006, 02:49 PM
  5. Tuts
    By Mukuro in forum Hack Requests
    Replies: 0
    Last Post: 01-09-2006, 04:54 PM

Tags for this Thread