i created a simple php file to test the mail function and it still does not work. i discovered that because it does not go into the if statement that the mail() returns false as a value. does anyone know why it does this or how i can fix it?
<body>
<?
if(mail("mindless10@hotmail.com", "test", "this is just a test"))
echo "works";
?>
this is just a test
</body>