i want to send a mail from vb.net windows application.using the following code can't send mail.
cmd = New SqlCommand("select email from tblCompany", con)
dr = cmd.ExecuteReader
While dr.Read
sb.Append(dr.GetString(0) + ";")
End While
Response.Redirect("mailto:
[email protected]?Bcc=" + sb.ToString)
in this code sb is string builder,dr is sqldatareader.using above code,can't send mail,but didn't show any error.i have dout in response.redirect line.instead of response.write anything will come.plz help me.