I use mail() function to send an email. But it doesn't work.Is there any problem with the server or my code?
<?
if (mail("user@example.com","This is the test mail","Here is the testing text")) { print("ok");}
else print "fail";
?>
the result is "fail".
Please help me out of this problem.
[edited by: coopster at 5:29 pm (utc) on Mar. 18, 2005]
[edit reason] generalized email [/edit]