Are you sure nothing's wrong t=with my php file?
Am I supposed to leave the headers 'From' and 'Reply-To', as "webmaster@example.com"?
<?php
$to = $_POST['email_to'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$headers = 'From: webmastersns@example.com' . "\r\n" .
'Reply-To: webmastersns@example.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
echo "Message sent at ";
echo date ("h:i:s");
?>
If this is not the problem, then it must be a file structure problem... Can someone please help me? — How did you end up getting it to work?