
Originariamente inviata da
Alhazred
Ma qui sul forum hai cecato? Di sicuro ti manca il "reply to", ma tutti a memoria non me li ricordo.
Si ho cercato e ho trovato altri post in cui si dice di fare ricerche.
Ho provato anche il seguente codice ma niente da fare:
codice:
$header = "MIME-Version: 1.0\r\n";
$header .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header .= "Content-Transfer-Encoding: 7bit\n\n";
$header .= 'From: "Webtutor" <webtutor@altervista.org>\r\n';
$header .= "Reply-To: " . $from . "\r\n";
$header .= "Return-Path: ".$from."\r\n";
$msg =' <html>
<head>
<title>Conferma registrazione</title>
<meta charset="UTF-8">
<style type="text/css">
body {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:normal; color:#000000;}
</style>
</head>
<body>
<p>Per confermare l\'avvenuta registrazione, cliccate il link seguente:<br>
http://www.webtutor.altervista.org/scripts/confirm.php?id='.$id.'</p>
</body>
</html>
';
return (mail($to, "Conferma registrazione", $msg, $header))