This is the code:
<?php
$to ="david.mulvey@logical.com";
$subject = "test1";
$message = "this is a test";
mail($to, $subject, $message);
echo $to;
echo $subject;
echo $message;
?>
This is the response it's getting:
Warning: Unknown error in E:\wmt3_2\bin\client\portal\lev1frmsend.php on line 20
david.mulvey@logical.comtest1this is a test
Line 20 is the line beginning with 'mail'.
I'm new to PHP. If anyone could tell why it's behaving this way or how I can go about finding why it's behaving this way I would be grateful.
Regards
D Mulvey