Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Shocker2010's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    6

    [Question]E-mail(Bug Report)

    How would i make a Submit bug form ? i have a code below but it wont work


    [php]Imports System.Net.Mail
    Public Class SubmitBug

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    ProgressBar1.Increment(1)
    If ProgressBar1.Value = ProgressBar1.Maximum Then
    Dim WC As New System.Net.WebClient
    Dim MyMailMessage As New MailMessage

    MyMailMessage.To.Add("submitbug@gmail.com")
    MyMailMessage.Subject = (TextBox2.Text)
    WC.Dispose()
    MyMailMessage.Body = (RichTextBox1.Text)
    Dim SMTPServer As New SmtpClient("smtp.gmail.com")
    SMTPServer.Credentials = New System.Net.NetworkCredential("Nexgen1: Removed Email", "Nextgen1: Removed Password")
    SMTPServer.EnableSsl = True

    Try
    SMTPServer.Send(MyMailMessage)

    Catch ex As SmtpException


    Catch ex As Exception

    End Try
    End If
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Timer1.Start()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    MsgBox(" Please Visit mpgh.net For The Best VIP Hacks, Pub Hacks + More", MsgBoxStyle******rmation + MsgBoxStyle.OkOnly)
    Me.Close()
    End Sub


    Private Sub TextBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.Click
    TextBox1.Text = ""
    End Sub

    Private Sub TextBox2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.Click
    TextBox2.Text = ""
    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
    System.Diagnostics.Process.Start("https://mpgh.net")
    End Sub
    End Class[/php]
    Last edited by NextGen1; 03-07-2010 at 11:28 AM.

  2. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    I caught the error, it is authentication based, One sec, Revising
    Last edited by NextGen1; 03-07-2010 at 11:56 AM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  3. The Following User Says Thank You to NextGen1 For This Useful Post:

    Shocker2010 (03-08-2010)

  4. #3
    MJLover's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Neverland
    Posts
    759
    Reputation
    33
    Thanks
    110
    My Mood
    Cheerful
    Actually you forgot to input the port for Google SMTP server that is: 587

    [php]Try
    Dim msg As New MailMessage(senderID.Text, recievers.Text, subj.Text, emailbody.Text)
    If Not CCs.Text = vbNullString Then
    msg.CC.Add(CCs.Text)
    End If
    If Not BCCs.Text = vbNullString Then
    msg.Bcc.Add(BCCs.Text)
    End If

    If attachments.Items.Count > 0 Then
    For Each z As String In attachments.Items
    msg.Attachments.Add(New Net.Mail.Attachment(z))
    Next
    End If
    Dim client As New SmtpClient("smtp.gmail.com", 587)
    Dim Credentials As New System.Net.NetworkCredential(senderID.Text, pass.Text)


    client.Credentials = Credentials

    client.EnableSsl = True

    client.Send(msg)
    Catch ex As Exception
    MsgBox("Error sending email !!" & vbCrLf & ex.Message)
    Exit Sub
    End Try

    MsgBox("Your email has been sent.")[/php]

    Tested and working fine here

  5. The Following User Says Thank You to MJLover For This Useful Post:

    Shocker2010 (03-08-2010)

  6. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed


    A. Tried that with his code already, that what was in my edit above as a suggestion

    B. Error coming back on your code and mine is

    5.1.1 authnetication, I have tried your code, (typical) My Code (heavily modified and above code.

    C. Port 587 is now default and will work on a smtp relay without adding it, though it is a good idea to have if they every change their requirements for ssl

    But then again, with that said, I am using his credentials, I don't know if they are correct or not.

    Last edited by NextGen1; 03-07-2010 at 01:33 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  7. The Following User Says Thank You to NextGen1 For This Useful Post:

    Shocker2010 (03-08-2010)

  8. #5
    MJLover's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Neverland
    Posts
    759
    Reputation
    33
    Thanks
    110
    My Mood
    Cheerful
    Quote Originally Posted by NextGen1 View Post


    A. Tried that with his code already, that what was in my edit above as a suggestion

    B. Error coming back on your code and mine is

    5.1.1 authnetication, I have tried your code, (typical) My Code (heavily modified and above code.

    C. Port 587 is now default and will work on a smtp relay without adding it, though it is a good idea to have if they every change their requirements for ssl

    But then again, with that said, I am using his credentials, I don't know if they are correct or not.

    The code I posted above is running perfectly fine.
    They problem is with the credentials !!
    Last edited by MJLover; 03-07-2010 at 01:53 PM.

  9. The Following User Says Thank You to MJLover For This Useful Post:

    Shocker2010 (03-08-2010)

  10. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Maybe, I logged into the account, then I told him he posted his credentials, Maybe he changed them, I Pm(ed) him , No response, But meh

    The answer is here and out there.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  11. The Following User Says Thank You to NextGen1 For This Useful Post:

    Shocker2010 (03-08-2010)

  12. #7
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,086
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    I have the correct code on my other comp. I cant get to it now though
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  13. The Following User Says Thank You to zmansquared For This Useful Post:

    Shocker2010 (03-08-2010)

  14. #8
    Shocker2010's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    6
    username and pass still the same. still cant get it to work tho ( The Code)

    i copyied and pasted nexgen1 Modifyed code and got this error

    [php]A first chance exception of type 'System.InvalidOperationException' occurred in System.dll
    A first chance exception of type 'System.InvalidOperationException' occurred in System.dll[/php]
    Last edited by Shocker2010; 03-07-2010 at 10:20 PM.

  15. #9
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Quote Originally Posted by Shocker2010 View Post
    username and pass still the same. still cant get it to work tho ( The Code)

    i copyied and pasted nexgen1 Modifyed code and got this error

    [php]A first chance exception of type 'System.InvalidOperationException' occurred in System.dll
    A first chance exception of type 'System.InvalidOperationException' occurred in System.dll[/php]
    Did MJ's work?

    Didn't work for me, just seeing if we can get this working, All of the codes here, including the original one I posted for you are correct.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  16. The Following User Says Thank You to NextGen1 For This Useful Post:

    Shocker2010 (03-08-2010)

  17. #10
    Shocker2010's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    6
    i used MJ's but i dont have CCs BCCs and the

    Catch ex As Exception - had a blue highlight line under it

    Here : All Red lines is where an error is

    Last edited by Shocker2010; 03-07-2010 at 11:00 PM.

  18. #11
    Shocker2010's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    6
    YESSS I GOT IT WORKING. Nextgen1 please close this

    EDIT : its nto working, i tried to send it from my other gmail acc but it wont work.. i can only use the supplied email address!!


    also when i send a message it keeps sending it, how can i make it send once??

    Code im NOW using

    [php]Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    ProgressBar1.Increment(1)
    Dim msg As New MailMessage(senderID.Text, recievers.Text, subj.Text, emailbody.Text)
    If Not CCs.Text = vbNullString Then
    msg.CC.Add(CCs.Text)
    End If
    If Not BCCs.Text = vbNullString Then
    msg.Bcc.Add(BCCs.Text)
    End If


    Dim client As New SmtpClient("smtp.gmail.com", 587)
    Dim Credentials As New System.Net.NetworkCredential(senderID.Text, pass.Text)


    client.Credentials = Credentials

    client.EnableSsl = True

    client.Send(msg)



    MsgBox("Your email has been sent Thank you for taking the Time To Notify me there's a bug | Credits to MJLover For The Source Code For The Submit Bug|.")

    Timer1.Stop()
    Timer1.Enabled = False[/php]

  19. #12
    MJLover's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Neverland
    Posts
    759
    Reputation
    33
    Thanks
    110
    My Mood
    Cheerful
    Quote Originally Posted by Shocker2010 View Post
    YESSS I GOT IT WORKING. Nextgen1 please close this

    EDIT : its nto working, i tried to send it from my other gmail acc but it wont work.. i can only use the supplied email address!!


    also when i send a message it keeps sending it, how can i make it send once??

    Code im NOW using

    [php]Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    ProgressBar1.Increment(1)
    Dim msg As New MailMessage(senderID.Text, recievers.Text, subj.Text, emailbody.Text)



    Dim client As New SmtpClient("smtp.gmail.com", 587)
    Dim Credentials As New System.Net.NetworkCredential(senderID.Text, pass.Text)


    client.Credentials = Credentials

    client.EnableSsl = True

    client.Send(msg)



    MsgBox("Your email has been sent Thank you for taking the Time To Notify me there's a bug | Credits to MJLover For The Source Code For The Submit Bug|.")

    Timer1.Stop()
    Timer1.Enabled = False[/php]
    Remove
    Code:
    ProgressBar1.Increment(1)
    to send just 1 time.

    Also remove the following lines incase you don't want carbon and blind carbon copy:
    Code:
    If Not CCs.Text = vbNullString Then
                msg.CC.Add(CCs.Text)
            End If
            If Not BCCs.Text = vbNullString Then
                msg.Bcc.Add(BCCs.Text)
            End If
    Thnx !!

  20. The Following User Says Thank You to MJLover For This Useful Post:

    Shocker2010 (03-08-2010)

  21. #13
    Shocker2010's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    6
    ok thanks MJ.. i also give u credits

    /edit it still send it more then once.. i removed the things what u said MJ
    Last edited by Shocker2010; 03-08-2010 at 03:59 AM.

  22. #14
    MJLover's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Neverland
    Posts
    759
    Reputation
    33
    Thanks
    110
    My Mood
    Cheerful
    Quote Originally Posted by Shocker2010 View Post
    ok thanks MJ.. i also give u credits

    /edit it still send it more then once.. i removed the things what u said MJ
    Post your complete module once more. Plz !!

  23. The Following User Says Thank You to MJLover For This Useful Post:

    Shocker2010 (03-08-2010)

  24. #15
    Shocker2010's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    6
    [php]Imports System.Net.Mail
    Public Class SubmitBug

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

    Dim msg As New MailMessage(senderID.Text, recievers.Text, subj.Text, emailbody.Text)
    Dim client As New SmtpClient("smtp.gmail.com", 587)
    Dim Credentials As New System.Net.NetworkCredential(senderID.Text, pass.Text)


    client.Credentials = Credentials

    client.EnableSsl = True

    client.Send(msg)



    MsgBox("Your email has been sent Thank you for taking the Time To Notify me there's a bug | Credits to MJLover For The Source Code For The Submit Bug|.")

    Timer1.Stop()
    Timer1.Enabled = False
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Timer1.Start()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    MsgBox(" Please Visit mpgh.net For The Best VIP Hacks, Pub Hacks + More", MsgBoxStyle******rmation + MsgBoxStyle.OkOnly)
    Me.Close()
    End Sub
    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
    System.Diagnostics.Process.Start("https://mpgh.net")
    End Sub
    Private Sub Label11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label11.Click
    Form1.Show()
    Me.Hide()
    End Sub
    Private Sub Subj_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Subj.Click
    Subj.Text = ""
    End Sub
    End Class[/php]

Page 1 of 2 12 LastLast

Similar Threads

  1. Mail Related Question / Cod
    By dwrowla in forum Vindictus Help
    Replies: 2
    Last Post: 10-17-2011, 05:47 PM
  2. [Info] June Update BUG Report Thread
    By [=Evl=] in forum Soldier Front General
    Replies: 3
    Last Post: 06-19-2011, 12:35 PM
  3. [Help] No Bug, no Damage Zone question
    By JusCaus in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 25
    Last Post: 06-18-2011, 11:52 AM
  4. Problems with VAC Choas 2 [Bug Report?]
    By mvenom101 in forum Call of Duty Modern Warfare 2 Help
    Replies: 6
    Last Post: 05-23-2010, 03:44 PM
  5. [Question] How Chines do this BUG?!
    By Ahmos in forum CrossFire Hacks & Cheats
    Replies: 8
    Last Post: 06-26-2009, 05:00 AM