in reply to submit form data thru email
You're going to have to post the form back to the server, and send the mail from there.
Note that this isn't the article that others have referenced in this thread.
-- Randal L. Schwartz, Perl hacker