submit.php script

Change the above to
`

<?php $name=$_POST['name']; $email=$_POST['email']; $phone=$_POST['phone']; $message=$_POST['message']; $ToEmail = "[email protected]"; $ToSubject = "Message title"; $EmailBody = "Name: $name\ Email: $email\ Phone: $phone\ Message: $message\ "; $Message = $EmailBody; $headers .= 'MIME-Version: 1.0' . "\\r\ "; $headers .= "Content-type: text; charset=iso-8859-1\\r\ "; $headers .= "From:".$email."\\r\ "; if ( mail($ToEmail,$ToSubject,$Message, $headers) ){ echo "Your message was successfully sent!"; } else{ echo "Error - Your message was not sent due to a failure in the mail function!"; } ?>

`

ok, ley me try this. really appreciate ur response, bcos i almost give up on it