... the address through a form i create on a web page.

Examples of what i'm talking about:

on cnn.com they allow a person to email a news article on the site by clicking a button, filling out a form that asks for the email address to send it to and pressing a submit button. The site than directs you to a 'ThankYou' page, while the article is being emailed

Any help would be great b/c i'm not familiar w/ java, but need to figure this out asap. Thanks for your help