Please here is my script and it doesnt function
<?
$email = $_REQUEST['email'] ;
$message= $_REQUEST['message'];
if (!isset($_REQUEST['email'])) {
header( "Location: http://www.eyes4u.ch/feedback.html" );
}
elseif (empty($email) || empty ($message)) {
header( "Expires: Mon, 19 Feb 2007 01:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-cache, must-revalidate" );
header( "Pragma: no-cache" );
?>
<html>
<head><title>Error</title></head>
<body>
<h1>Error</h1>
<p>
Oops, It looks as if you forgot to enter your email or message. Please press the
back button on your browser and try again.<br />
Thank you
</p></body></html>
<?
}
else {
mail( "info[at]eyes4u[dot]ch", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.eyes4u.ch/thanks.html" );
}
?>
Here is the error I get
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\sites\premium4\emory\webroot\sendmail.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at C:\sites\premium4\emory\webroot\sendmail.php:34) in C:\sites\premium4\emory\webroot\sendmail.php on line 35
My hosting which is Brinkster says I can get the answer here but I cant find it
http://kb.brinkster.com/Kb.asp?kb=108154
Here the link to my homepage
http://www.eyes4u.ch/feedback.html
Thank you for your help



Reply With Quote


Bookmarks