Results 1 to 10 of 10
  1. #1
    mastalol's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Beech Island South Carolina
    Posts
    201
    Reputation
    10
    Thanks
    148
    My Mood
    Yeehaw

    Exclamation [Help]Mailing Error in Application[Solved]

    I Run a Radio Station and I Wanted To Program a Program That Users Can Use To Apply To Be a DJ
    and I Keep Haveing This Problom:
    Every Time I Try To Send The Application Through The Program, It Says:

    Code:
    An unhandled exception of type 'System.Net.Mail.SmtpException' occurred in System.dll
    
    Additional information: Failure sending mail.


    Using: Microsoft Visual Studio 2010 Ultimate

    What i have:
    Code:
    Public Class Form1
    
        Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
            If TextBox10.Text = 2 Then
                MsgBox("Correct Answer!", MsgBoxStyle.Exclamation, "Correct")
                Button1.Enabled = True
            Else
                MsgBox("Answer is Incorrect please try again!", MsgBoxStyle.Critical, "Error")
            End If
        End Sub
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
        End Sub
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Dim Mail As New MailMessage
            Mail.Subject = "DJ Application"
            Mail.To.Add("RServersAdm@LiVe.com")
            Mail.From = New MailAddress(TextBox2.Text)
            Mail.Body = "---------------------------" +
                "Start Application" +
                "---------------------------" +
                "Name: " + TextBox1.Text +
                "Email:" + TextBox2.Text +
                "Age:" + TextBox3.Text +
                "Gender" + TextBox11.Text +
                "State:" + TextBox4.Text +
                "Country:" + TextBox5.Text +
                "---------------------------" +
                "Music" +
                "---------------------------" +
                "Good Music Selection?" + TextBox6.Text +
                "What's Your Favorite Genre?" + TextBox12.Text +
                "---------------------------" +
                "Broadcasters" +
                "---------------------------" +
                "Virtual DJ?: " + TextBox7.Text +
                "Sam Broadcaster?: " + TextBox8.Text +
                "---------------------------" +
                "Remote Support" +
                "---------------------------" +
                "Team Viewer?: " + TextBox9.Text +
                "---------------------------" +
                "End Application" +
                "---------------------------"
    
            Dim SMTP As New SmtpClient("pop3.live.com")
            SMTP.EnableSsl = True
            SMTP.Credentials = New System.Net.NetworkCredential("RServersADM@LiVe.com", "*MY PASSWORD*")
            SMTP.Port = "587"
            SMTP.Send(Mail)
            MsgBox("Thank You For Submiting Your Application!", MsgBoxStyle.Exclamation, "Correct")
        End Sub


    Could Someone TV Me and Help?

    My ID is:
    353 376 943

    PM Me For Pass

    Thanks
    Last edited by mastalol; 02-14-2011 at 01:26 PM.

  2. #2
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Please post all relevant code here and we'll see what we can do. This is a community forum so requesting a private TV solution is the "less preferred" way of asking for help. If you post the actual code that's failing here, someone will no doubt be able to assist you.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  3. #3
    mastalol's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Beech Island South Carolina
    Posts
    201
    Reputation
    10
    Thanks
    148
    My Mood
    Yeehaw
    Quote Originally Posted by Jason View Post
    Please post all relevant code here and we'll see what we can do. This is a community forum so requesting a private TV solution is the "less preferred" way of asking for help. If you post the actual code that's failing here, someone will no doubt be able to assist you.
    Check It i updated with code

  4. #4
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    I think this not gonna solve but..

    I think this:
    Code:
    If TextBox10.Text = 2 Then
    Must be:
    Code:
    If TextBox10.Text = "2" Then

  5. #5
    mastalol's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Beech Island South Carolina
    Posts
    201
    Reputation
    10
    Thanks
    148
    My Mood
    Yeehaw
    Quote Originally Posted by -WØW'' View Post
    I think this not gonna solve but..

    I think this:
    Code:
    If TextBox10.Text = 2 Then
    Must be:
    Code:
    If TextBox10.Text = "2" Then
    Lol thanks but thats not it lol, it is suppose to be that, it is a security check lol

    See
    Last edited by mastalol; 02-14-2011 at 01:25 PM.

  6. #6
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    Quote Originally Posted by mastalol View Post
    Lol thanks but thats not it lol, it is suppose to be that, it is a security check lol
    I know xD I just saw that and think i should warn u

    PS: It fails to send the email..I think CAN be a port or some wrong info..

  7. #7
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Quote Originally Posted by -WØW'' View Post
    I think this not gonna solve but..

    I think this:
    Code:
    If TextBox10.Text = 2 Then
    Must be:
    Code:
    If TextBox10.Text = "2" Then
    No lol. That's actually worse



  8. #8
    mastalol's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Beech Island South Carolina
    Posts
    201
    Reputation
    10
    Thanks
    148
    My Mood
    Yeehaw
    /Req Close the Problem is fixed

  9. #9
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    Quote Originally Posted by mastalol View Post
    /Req Close the Problem is fixed
    Solution please?

  10. #10
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Would you be able to post what the solution was masta? It'll help people browsing the forums with a similar error to get the solution they need.Cheers.

    Marked as solved.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)