Register failed under Windows 2003 - mail-Function (General)
145 views and no solution?
Does my little forum work with Windows, however the Register-Form does not send Emails.
This Script send the mails and works on this Webserver with SMTP to MS-Exchange (PHP Version 5.2.1, CGI/FastCGI).
<?php
$to = 'nobody@example-test.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example-test.com' . "rn" .
'Reply-To: webmaster@example-test.com' . "rn" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
Is there anything to change in Form?
Thanks 4 a hint.