Boas eu fiz como ta ai tenho isto...
<?php
// COLOQUE AQUI SEU EMAIL PARA RECEBER O CONTATO
$destino = "@gmail.com";
// COLOQUE AQUI O ASSUNTO PARA O EMAIL ENVIADO
$assunto = "Assunto do Email";
///////////////////////////////////////////////////////////////
$msg = "Contato enviado em " . date("d/m/Y") . " às " . date("H:i") . ":\n\n";
foreach($_POST as $campo => $valor)
{
$msg .= ucfirst($campo) . ": " . $valor . "\n";
}
mail($destino, $assunto, $msg);
?>
________________________________________________________________________________________
<form name="contato" id="contato" method="post" action="enviar.php">
<input type="hidden">
<!-- e-mail do destinatario -->
<center>
<table width="39%" border="0" align="center" cellspacing="0" cellpadding="0">
<tr>
<td>Nome:<br> <input type="text" size="30" name="nome" value=""></td>
</tr>
<tr>
<td>E-mail:<br>
<input type="text" size="30" name="email" value=""></td>
</tr>
<tr>
<td>Assunto:<br> <input type="text" size="30" name="assunto" value=""></td>
</tr>
<tr>
<td>Mensagem:<br>
<textarea cols="40" rows="10" name="mensagem"></textarea>
</td>
</tr>
<tr>
<td> <input name="submit" type="submit" value=" Enviar ">
<input name="reset" type="reset" value=" Limpar "></td>
</tr>
</table>
</center>
</form>
____________________________________________________________________________________________________________
E alojei...mas mesmo assim nao funciona nao recebo nada no e-mail :S
Sou novo nisto!!:S
Johnny04's Content
There have been 1 items by Johnny04 (Search limited from 26/04/2023)