Código PHP:
<?php
$codigohtml = '
<html>
<head>
<title>E-Mail HTML</title>
</head>
<body>
<a href="http://www.webtaller.com">Ir a WebTaller</a>
</body>
';
$asunto = 'E-Mail HTML';
$cabeceras = "Content-type: text/html\r\n";
$email = '[email protected]';
if(mail($email,$asunto,$codigohtml,$cabeceras) == true)
{
echo "Funciona.";
}
else
{
echo "ERROR.";
}
?>
Gracias