look into system.net.mail you will need to have access / use of an smtp server of which you can send the mail through
have a look at the following code project article
Example
This will work in either Winforms or asp.net, but like all the other comments have suggested you question is rather vague