Codice PHP:
$to = $email;
$subject = "sta cippa:";
$message = "quello che vuoi, il tuo testo\n\r";
$from = "info@stacippa.com";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";
$headers .= "From: " . $from . "\r\n";
$invio_conferma = mail($to, $subject, $message, $headers);
if ($invio_conferma)
{
echo("
E-mail inviata correttamente a:[b]$email[/b]
");
echo $message;
}else{
echo("sta cippa non inviata..... azzzz");
}
dovrebbe funzionare.
Facci sapere