Have a look at this for clearer picture of what all you need to do:
Sending Emails using .NET Part II[
^]
You have to set some configuration settings too.
There are lots of other articles on sending Email through ASP.NET here at Codeproject itself, feel free! :thumbsup: