Yes, you need a PHP script to collect, format and then the information to your email. In your action, specify a script such as formprocessor.php and add the following code:
PHP Code:
<?php
//declare msg variable to help concatenate our message fields
$msg="Name: " . $_POST['name'] . "\n";
$msg.="Email Address: " .$_POST['email'] . "\n";
$msg.="Comments/Suggestions: " .$_POST['comments']. "\n";
//use an additional variable to allow recipient to reply directly from this email
$additionalheaders="From: " .$_POST['email'];
//use mail function to send the mail, using all of four parameters
mail("webmaster@domain.com", "Contact Us", $additionalheaders, $msg);
//re-direct visitors to a success page
header("Location:http://www.somedomain.com");
//kill the script from executing any more
exit();
?>
This is just a START. Make sure you add any additional validation that you may require.
Bookmarks