Are you supplying correct credentials and do you have the
EnableSsl
property set to true (if you are indeed using SSL)?
smtp.EnableSsl = true;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new System.Net.NetworkCredential("my user", "my pass");