|
Answer» So what i am trying to do is send a USER an email, if that email is valid it will send if it is not valid it will come up with a message and return and the code will no longer GO. if the email checks out the code will continue. basically email check then send.
All i WANT to do is bypass this unhandled exception.
This is the type of error im getting
Code: [Select] mail.Subject = "Thanks " + TextBox3.Text + " For Registering" mail.To.Add(TextBox2.Text) 'users email they put mail.From = New MailAddress("") mail.Body = "" Try SMTP.Send(mail) Catch exc As ??????????? MessageBox.Show("The email you entered is invalid", "Email Error", MessageBoxButtons.OK, MessageBoxIcon.Information) Return End Try http://vbcity.com/forums/t/163754.aspxI'm not really looking to TAKE the long way and re-do my code but thanks anyways.No more help needed, i GOT it.retracted info...
|