First of all make sure that the credentials are correct.
Then refer my past answer -
sending email to gmail from asp.net[
^]. You will find a complete working code.
Looking at the code, I see that the following lines are missing.
client.UseDefaultCredentials = false;
client.EnableSsl = true;