winger
Verified User
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!
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!