I'm having a problem submitting my site's form via PHP. I even followed the example of my hosting, Locaweb, but the submission is not done. Can anyone help me?
<?php
$quebra_linha = "\n";
$emailsender = "[email protected]";
$nomeremetente = "Fabrica da Limpeza";
$emaildestinatario = "[email protected]";
$assunto = "Contato via Site";
$mensagem = "blabla";
$mensagemHTML = 'teste'.$mensagem.'';
$headers = "MIME-Version: 1.1".$quebra_linha;
$headers .= "Content-type: text/html; charset=iso-8859-1".$quebra_linha;
$headers .= "From: ".$emailsender.$quebra_linha;
$headers .= "Return-Patch: ".$emailsender.$quebra_linha;
$headers .= "Reply-To: ".$emailsender.$quebra_linha;
mail ($emaildestinatario, $assunto, $mensagemHTML, $headers , "-r". $emailsender);
?>