The script can't run because you omitted a necessary parameter.
You must designate at the top of your script a block of code
that looks like this:
<?php
// list of required form fields (optional)
$form['required'] = "name, address, city, state";
$form['to'] = "guy@place.com, you@there.com";
$form['subject'] = "this is my subject";
// form value to append to subject (optional)
$form['add_to_subject'] = "name";
$form['from'] = "me@here.com";
// page to redirect to after success
$form['redirect'] = "thatpage.php";
// page to display if a required field is missing (optional)
$form['error'] = "error.php";
include("sendform.inc.php");
?>