For some odd reason, I can't get the mail() to work in my script. Even a simple script, such as:
<?
$to = "multis_veneficus@hotmail.com";
$subject = "PHP Is Great";
$body = "PHP is one of the best scripting languages around";
$headers = "From: itcjalo@noos.fr\n";
mail($to,$subject,$body,$headers);
echo "Mail sent to $to";
?>
Does not work! I constantly get the error message of:
"Warning: Failed to Connect in..." always occuring on the line of which the mail() command is placed. No matter what I do, it doesn't work. Could anyone advise me on this problem?
Thanks.