I am trying to run a php script from the command line (I will ultimately trying to run it as a CRON job but I'll get to that later) and I can't figure out how.
My script is very simple
<?
mail("myemail","A Test","A Test");
?>
I am entering this at the command line
php test.php
and getting this result
X-Powered-By: PHP/4.2.2
Content-type: text/html<?
mail("robert.y@cd-wow.com","A Test","A TEst");
?>
Which seems like it could be right, but I'm not getting the email.
Thanks in advance
Rob