tengo el servidor que me proporciona prodigy, pero ahora encontre otro codigo, mira:
<html>
<head>
<title>Sugerencias</title>
</head>
<body>
<form method="post" action="mail.php">
<p><b>Nombre:</b><input type="text" name="name" size="27"><br></p>
<p><b>Email:</b><input type="text" name="email" size="27"><br></p>
<b>Comentarios:</b>
<p><textarea name="feedback" rows="9" cols="44" wrap=physical></textarea></p>
<input type="submit" value="Enviar">
</form>
<br>
</body>
</html>
y mail.php contiene:
<?php
$to = "
[email protected]"; //The e-mail address to send the mail to
$subject = "sugerencias"; //Subject name shown on e-mail
$message = "$name $email, $feedback"; //LEAVE THIS AS IS!
mail( $to, $subject, $message ) or print "Could NOT send mail";//LEAVE THIS AS IS!
header( "location: http://www.catalgozone.com" ); // Page to send user to after mail sent
exit;
?>
y cuando lo manda, dice: no se puede mostrar la pagina. esto por que es ?