ciao a tutti,
ho un problema nel invio di un link nel corpo di testo di un messaggio email.
in poche parole quando arriva email da una pagina internet e viene aperto con thunderbird oppure outlook, il sito inviato non diventa un link nel corpo del messaggio.
ho provato anche scrivendo: google ma non arriva
posso gentilmente chiedervi un consiglio ?
qui metto il codice php
---------------------------------------------------
/*$message = "text:
<font color='red'> text </font> text,
text:
http://forum.html.it
text";*/
//$message = wordwrap($message, 70);
$subject = 'text';
$headers = "From: 'xx@xx.xx'\r\n";
$headers .= "Reply-To: 'xx@xx.xx'\r\n";
$headers .= "CC: xx@xx.xx\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=utf-8\r\n";
$message = '<html><body>';
$message .= 'text:
';
$message .= '<font color="red" size="+2"> text </font> text ,';
$message .= '
text:';
$message .= '
http://forum.html.it' ;
$message .= '
text .';
$message .= '</body></html>';
if(mail('xx@xx.xx', $subject, $message, $headers))
echo "sent";
if(mail('xx@xx.xx', $subject, $message, $headers))
echo "sent";
if(mail('xx@xx.xx', $subject, $message, $headers))
echo "sent";
if(mail('xx@xx.xx', $subject, $message, $headers))
echo "sent";
}
//$result = @mysql_query($qry);
}
?>
</div>
</body>
</html>
__________________________________________________ _________