Try
obj.Send(your mail information)
Catch ex As Exception
Me.TextBox.Text = ("the following exception occured:" & ex.ToString())
While Not (ex.InnerException Is Nothing)
Me.TextBox.Text += "------------------------"
Me.TextBox.Text += ("The following InnerException reported: " + ex.InnerException.ToString())
ex = ex.InnerException
End While
End Try
I had to use my ISP's smtp server for some reason
. but tat mail alway stay at queue folder, it cant send out.