How exactly does the page fail?
Have you setup the code to the precise specifications:
http://us4.php.net/manual/en/function.mail.php
You might also try setting the email address and subject as variables:
PHP Code:
$email = "email@email.com";
$subject = "The subject line";
mail( $email, $subject, $thetext, $headers );
Setting things up in this fashion has gotten me past odd script errors.