PDA

View Full Version : php form



winger
06-01-2009, 11:22 AM
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 = "xxx@xxx.net";
$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!

scsi
06-01-2009, 11:37 AM
Check your maillogs there should be info.