QuestionSolvedDeveloping An Email Bomber

Posts 1–8 of 8 · Page 1 of 1
Developing An Email Bomber
Hello Guys!

I need help at my Email-bomber

I maked the programm for a rl friend of me but i dont know how i can upload files in my email for a email bomber with pictures like viagra or something


Please Help me!

Slirpa!
@Slirpa: First, Import the following namespace:

Code:
Imports System.Net.Mail
Then, paste the following procedure in Visual Basic project:

Code:
Sub SendEmail()
        Dim MyEmailMessage As New MailMessage("senderID@gmail.com", "recieverID@XXX.com", "E-Bomber", "Email Body Goes Here...") 'Pretty self explanatory. Just remember to use Sender ID that corresponds to SMTP client.
        Dim MailingServer As New SmtpClient("smtp.gmail.com", 587) 'This is the setting that specifies the server used for sending the email. In this case we are using Google's mailing server with a port number 587. Replace this setting with your own server if you got any.
        MailingServer.Credentials = New Net.NetworkCredential("senderID@gmail.com", "Sender's Password Here...") 'Provide your credentials here.
        MailingServer.EnableSsl = True 'Set it to False if the SMTP client doesn't accepts a secure connection.
        MyEmailMessage.Attachments.Add(New Attachment("Attachment Filepath and name here...")) 'Specify the path and filename of the file you are going to attach with the email.
        MailingServer.Send(MyEmailMessage) 'Send the email.
        'In case of a bomber, use a for loop to specify number of emails to be sent.
        'Uncomment following three lines if you want to send more than 1 email.
        'For NextEmail As Integer = 1 To 50 'Send the email 50 times.
        '    MailingServer.Send(MyEmailMessage)
        'Next
End Sub
Commented out every line so you can customize it.
where i need to paste that in? and i need a text box and two buttons for upload right?

Sorry i know iam a noob ;(
Quote Originally Posted by Slirpa View Post
where i need to paste that in? and i need a text box and two buttons for upload right?

Sorry i know iam a noob ;(
You can use it as is if you don't want to change the email ID's of the sender and receiver often. Otherwise, you'll need two Textbox controls that will store Sender and Receiver's ID. Next, you'll need two buttons as you mentioned. First one will browse for the file you are going to attach. The second one will actually send the email.

I hope you can replace the values in the code that I shared in my first post.
May u can send me a screenshoot? i dont check it ;(
Thanks Bro<3 i love u!!!!!!!
No Problem.
Marked Solved !
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?