Thanks, it gives me these errors now though....
/home/farley/question.php: ?php: No such file or directory
/home/farley/question.php: =chris@farley.com: command not found
/home/farley/question.php: =chris@farley.com: command not found
/home/farley/question.php: =question: command not found
/home/farley/question.php: =Hi Farley: command not found
/home/farley/question.php: line 7: syntax error near unexpected token `mail($to,$subject,$body,"From:$from"

'
/home/farley/question.php: line 7: `mail($to,$subject,$body,"From:$from"

;'
My code is as follows...
<?php
$to="chris@farley.com";
$from="chris@farley.com";
$subject="question";
$body="Hi Farley";
mail($to,$subject,$body,"From:$from"

;
?>
(It runs fine when i do: php question.php )