- Dec 20, 2000
- 6,457
- 6
- 81
I get an error message when it's on a windows server but no error on a unix server.
its a form mail script.
here is the error message
--
Warning: Server Error in E:\xxxxxxxx\xxxx\xxxxxxxxxx.com\formmail.php on line 162
Thank you for your submission
--
// mail the content we figure out in the following steps
function mail_it($content, $subject, $email, $recipient) {
mail($recipient, $subject, $content, "From: $email\r\nReply-To: $email\r\nX-Mailer: DT_formmail");
}
the last line is 162. any ideas why this won't work?
its a form mail script.
here is the error message
--
Warning: Server Error in E:\xxxxxxxx\xxxx\xxxxxxxxxx.com\formmail.php on line 162
Thank you for your submission
--
// mail the content we figure out in the following steps
function mail_it($content, $subject, $email, $recipient) {
mail($recipient, $subject, $content, "From: $email\r\nReply-To: $email\r\nX-Mailer: DT_formmail");
}
the last line is 162. any ideas why this won't work?