While working with Email sending in C#.NET in visual studio 2008 i got the below error
A connection attempt failed because the connected party did not
This happened to me due to my company security wifi. Once I changed to open wifi, the problem was solved automatically.