Custom Mail form


I am trying to create a custom mail form which will work like this:

Customer fills his name, his email, his friends name and his friends email.

Submits it and his friend will receive an email from him through my site.

The closest function is the send to friend functionality.

But I dont know how to create another form like send_to_friend , using my custom fields and texts.

Any hint-help ???!!!