php form

winger

Verified User
Joined
Oct 5, 2004
Messages
176
Location
Rio de Janeiro - Brasil
hello,

we have a customer that uses this code to send contacts from your website:

<?php
$mensagem = $_POST['contato'];
$headers = "From: <" . $_POST["nome"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$para = "[email protected]";
$assunto = "Você recebeu uma mensagem pelo site.";
mail($para, $assunto, $mensagem, $headers);
?>

it worked well but stopped completely to send the messages, any help to find out what could be wrong in the server php settings?

thanks!
 
Back
Top