Mailing List Asp

How do you create a web form so that users can subscribe or unsubscribe from a mailing list/listserv?
I want to be able to create a web page with a form that will allow users to enter their e-mail and subscribe or unsubscribe from a mailing list / listserv. For example, the following pages have what I’m looking for:
http://www.fsis.usda.gov/News_&_Events/news_release_Subscription/index.asp
and
http://www.srs.fs.usda.gov/compass/compass_esubscribe.htm
that is a very basic and simple form, however you need to create a handler file in a server side scripting language to put the email address somewhere, you can also look up tutorials on how to get the data to go to an email box instead.
Grinderman 2